enum
Gsk::GLUniformType
Overview
This defines the types of the uniforms that Gsk::GLShaders
declare.
It defines both what the type is called in the GLSL shader code, and what the corresponding C type is on the Gtk side.
Defined in:
lib/gi-crystal/src/auto/gsk-4.0/gsk.crEnum Members
-
None =
0_u32 -
No type, used for uninitialized or unspecified values.
-
Float =
1_u32 -
A float uniform
-
Int =
2_u32 -
A GLSL int / gint32 uniform
-
Uint =
3_u32 -
A GLSL uint / guint32 uniform
-
Bool =
4_u32 -
A GLSL bool / gboolean uniform
-
Vec2 =
5_u32 -
A GLSL vec2 / graphene_::vec2_t uniform
-
Vec3 =
6_u32 -
A GLSL vec3 / graphene_::vec3_t uniform
-
Vec4 =
7_u32 -
A GLSL vec4 / graphene_::vec4_t uniform
Class Method Summary
-
.g_type : UInt64
Returns the type id (GType) registered in GLib type system.
Instance Method Summary
-
#bool?
Returns
trueif this enum value equalsBool -
#float?
Returns
trueif this enum value equalsFloat -
#int?
Returns
trueif this enum value equalsInt -
#none?
Returns
trueif this enum value equalsNone -
#uint?
Returns
trueif this enum value equalsUint -
#vec2?
Returns
trueif this enum value equalsVec2 -
#vec3?
Returns
trueif this enum value equalsVec3 -
#vec4?
Returns
trueif this enum value equalsVec4
Class methods inherited from struct Enum
g_type : UInt64
g_type
Class Method Detail
Returns the type id (GType) registered in GLib type system.