SO3Engine
Functions
OgreUnifiedShader.h File Reference

Go to the source code of this file.

Functions

vec4 texture2DLod (sampler2D s, vec2 v, float lod)
 
vec2 vec2_splat (float x)
 
vec3 vec3_splat (float x)
 
vec4 vec4_splat (float x)
 
mat4 mtxFromRows (vec4 a, vec4 b, vec4 c, vec4 d)
 
mat3 mtxFromRows (vec3 a, vec3 b, vec3 c)
 
mat3 mtxFromCols (vec3 a, vec3 b, vec3 c)
 
mat2 transposeM (mat2 m)
 
mat3 transposeM (mat3 m)
 
mat4 transposeM (mat4 m)
 

Function Documentation

◆ mtxFromCols()

mat3 mtxFromCols ( vec3  a,
vec3  b,
vec3  c 
)

Definition at line 67 of file OgreUnifiedShader.h.

◆ mtxFromRows() [1/2]

mat3 mtxFromRows ( vec3  a,
vec3  b,
vec3  c 
)

Definition at line 62 of file OgreUnifiedShader.h.

◆ mtxFromRows() [2/2]

mat4 mtxFromRows ( vec4  a,
vec4  b,
vec4  c,
vec4  d 
)

Definition at line 57 of file OgreUnifiedShader.h.

◆ texture2DLod()

vec4 texture2DLod ( sampler2D  s,
vec2  v,
float  lod 
)

Definition at line 44 of file OgreUnifiedShader.h.

◆ transposeM() [1/3]

mat2 transposeM ( mat2  m)

Definition at line 72 of file OgreUnifiedShader.h.

◆ transposeM() [2/3]

mat3 transposeM ( mat3  m)

Definition at line 77 of file OgreUnifiedShader.h.

◆ transposeM() [3/3]

mat4 transposeM ( mat4  m)

Definition at line 82 of file OgreUnifiedShader.h.

◆ vec2_splat()

vec2 vec2_splat ( float  x)

Definition at line 53 of file OgreUnifiedShader.h.

◆ vec3_splat()

vec3 vec3_splat ( float  x)

Definition at line 54 of file OgreUnifiedShader.h.

◆ vec4_splat()

vec4 vec4_splat ( float  x)

Definition at line 55 of file OgreUnifiedShader.h.