enum Gloop::Uniform::Type

Overview

Type of data stored in the uniform.

Defined in:

gloop/uniform.cr

Enum Members

Int32 = 5124_u32
UInt32 = 5125_u32
Float32 = 5126_u32
Float64 = 5130_u32
Float32Vec2 = 35664_u32
Float32Vec3 = 35665_u32
Float32Vec4 = 35666_u32
Int32Vec2 = 35667_u32
Int32Vec3 = 35668_u32
Int32Vec4 = 35669_u32
Bool = 35670_u32
BoolVec2 = 35671_u32
BoolVec3 = 35672_u32
BoolVec4 = 35673_u32
Float32Mat2 = 35674_u32
Float32Mat3 = 35675_u32
Float32Mat4 = 35676_u32
Sampler1D = 35677_u32
Sampler2D = 35678_u32
Sampler3D = 35679_u32
SamplerCube = 35680_u32
Sampler1DShadow = 35681_u32
Sampler2DShadow = 35682_u32
Float32Mat2x3 = 35685_u32
Float32Mat2x4 = 35686_u32
Float32Mat3x2 = 35687_u32
Float32Mat3x4 = 35688_u32
Float32Mat4x2 = 35689_u32
Float32Mat4x3 = 35690_u32
Sampler1DArray = 36288_u32
Sampler2DArray = 36289_u32
Sampler1DArrayShadow = 36291_u32
Sampler2DArrayShadow = 36292_u32
SamplerCubeShadow = 36293_u32
UInt32Vec2 = 36294_u32
UInt32Vec3 = 36295_u32
UInt32Vec4 = 36296_u32
Int32Sampler1D = 36297_u32
Int32Sampler2D = 36298_u32
Int32Sampler3D = 36299_u32
Int32SamplerCube = 36300_u32
Int32Sampler1DArray = 36302_u32
Int32Sampler2DArray = 36303_u32
UInt32Sampler1D = 36305_u32
UInt32Sampler2D = 36306_u32
UInt32Sampler3D = 36307_u32
UInt32SamplerCube = 36308_u32
UInt32Sampler1DArray = 36310_u32
UInt32Sampler2DArray = 36311_u32
Sampler2DRect = 35683_u32
Sampler2DRectShadow = 35684_u32
SamplerBuffer = 36290_u32
Int32Sampler2DRect = 36301_u32
Int32SamplerBuffer = 36304_u32
UInt32Sampler2DRect = 36309_u32
UInt32SamplerBuffer = 36312_u32
Sampler2DMultisample = 37128_u32
Int32Sampler2DMultisample = 37129_u32
UInt32Sampler2DMultisample = 37130_u32
Sampler2DMultisampleArray = 37131_u32
Int32Sampler2DMultisampleArray = 37132_u32
UInt32Sampler2DMultisampleArray = 37133_u32
SamplerCubeMapArray = 36876_u32
SamplerCubeMapArrayShadow = 36877_u32
Int32SamplerCubeMapArray = 36878_u32
UInt32SamplerCubeMapArray = 36879_u32
Float64Vec2 = 36860_u32
Float64Vec3 = 36861_u32
Float64Vec4 = 36862_u32
Float64Mat2 = 36678_u32
Float64Mat3 = 36679_u32
Float64Mat4 = 36680_u32
Float64Mat2x3 = 36681_u32
Float64Mat2x4 = 36682_u32
Float64Mat3x2 = 36683_u32
Float64Mat3x4 = 36684_u32
Float64Mat4x2 = 36685_u32
Float64Mat4x3 = 36686_u32

Instance Method Summary

Instance Method Detail

def bool? #

[View source]
def bool_vec2? #

[View source]
def bool_vec3? #

[View source]
def bool_vec4? #

[View source]
def float32? #

[View source]
def float32_mat2? #

[View source]
def float32_mat2x3? #

[View source]
def float32_mat2x4? #

[View source]
def float32_mat3? #

[View source]
def float32_mat3x2? #

[View source]
def float32_mat3x4? #

[View source]
def float32_mat4? #

[View source]
def float32_mat4x2? #

[View source]
def float32_mat4x3? #

[View source]
def float32_vec2? #

[View source]
def float32_vec3? #

[View source]
def float32_vec4? #

[View source]
def float64? #

[View source]
def float64_mat2? #

[View source]
def float64_mat2x3? #

[View source]
def float64_mat2x4? #

[View source]
def float64_mat3? #

[View source]
def float64_mat3x2? #

[View source]
def float64_mat3x4? #

[View source]
def float64_mat4? #

[View source]
def float64_mat4x2? #

[View source]
def float64_mat4x3? #

[View source]
def float64_vec2? #

[View source]
def float64_vec3? #

[View source]
def float64_vec4? #

[View source]
def int32? #

[View source]
def int32_sampler1_d? #

[View source]
def int32_sampler1_d_array? #

[View source]
def int32_sampler2_d? #

[View source]
def int32_sampler2_d_array? #

[View source]
def int32_sampler2_d_multisample? #

[View source]
def int32_sampler2_d_multisample_array? #

[View source]
def int32_sampler2_d_rect? #

[View source]
def int32_sampler3_d? #

[View source]
def int32_sampler_buffer? #

[View source]
def int32_sampler_cube? #

[View source]
def int32_sampler_cube_map_array? #

[View source]
def int32_vec2? #

[View source]
def int32_vec3? #

[View source]
def int32_vec4? #

[View source]
def sampler1_d? #

[View source]
def sampler1_d_array? #

[View source]
def sampler1_d_array_shadow? #

[View source]
def sampler1_d_shadow? #

[View source]
def sampler2_d? #

[View source]
def sampler2_d_array? #

[View source]
def sampler2_d_array_shadow? #

[View source]
def sampler2_d_multisample? #

[View source]
def sampler2_d_multisample_array? #

[View source]
def sampler2_d_rect? #

[View source]
def sampler2_d_rect_shadow? #

[View source]
def sampler2_d_shadow? #

[View source]
def sampler3_d? #

[View source]
def sampler_buffer? #

[View source]
def sampler_cube? #

[View source]
def sampler_cube_map_array? #

[View source]
def sampler_cube_map_array_shadow? #

[View source]
def sampler_cube_shadow? #

[View source]
def to_unsafe #

Converts to an OpenGL enum.


[View source]
def u_int32? #

[View source]
def u_int32_sampler1_d? #

[View source]
def u_int32_sampler1_d_array? #

[View source]
def u_int32_sampler2_d? #

[View source]
def u_int32_sampler2_d_array? #

[View source]
def u_int32_sampler2_d_multisample? #

[View source]
def u_int32_sampler2_d_multisample_array? #

[View source]
def u_int32_sampler2_d_rect? #

[View source]
def u_int32_sampler3_d? #

[View source]
def u_int32_sampler_buffer? #

[View source]
def u_int32_sampler_cube? #

[View source]
def u_int32_sampler_cube_map_array? #

[View source]
def u_int32_vec2? #

[View source]
def u_int32_vec3? #

[View source]
def u_int32_vec4? #

[View source]