GskGLUniformType

This defines the types of the uniforms that GskGLShaders 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.

Values

ValueMeaning
None0

No type, used for uninitialized or unspecified values.

Float1

A float uniform

Int2

A GLSL int / gint32 uniform

Uint3

A GLSL uint / guint32 uniform

Bool4

A GLSL bool / gboolean uniform

Vec25

A GLSL vec2 / graphene_vec2_t uniform

Vec36

A GLSL vec3 / graphene_vec3_t uniform

Vec47

A GLSL vec4 / graphene_vec4_t uniform