Enum GlobalsType ​
Namespace: ValveResourceFormat.Renderer.Shaders
Assembly: Renderer.dll
GLSL types of loose uniforms that can be packed into the globals constant buffer.
public enum GlobalsTypeFields ​
Float = 0
32 bit float scalar.
Int = 1
32 bit signed integer scalar.
Uint = 2
32 bit unsigned integer scalar.
Bool = 3
Boolean scalar, stored as a 32 bit 0 or 1.
Vec2 = 4
Two component float vector.
Vec3 = 5
Three component float vector.
Vec4 = 6
Four component float vector.
IVec2 = 7
Two component signed integer vector.
IVec3 = 8
Three component signed integer vector.
IVec4 = 9
Four component signed integer vector.
UVec2 = 10
Two component unsigned integer vector.
UVec3 = 11
Three component unsigned integer vector.
UVec4 = 12
Four component unsigned integer vector.
BVec2 = 13
Two component boolean vector.
BVec3 = 14
Three component boolean vector.
BVec4 = 15
Four component boolean vector.
Mat4 = 16
Four by four column major float matrix.

