Enumeration (GI Enum)

Gsk-4.0GskGLUniformTypeDeprecated 4.16

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.

since 4.16

Index
BOOL: 4

A GLSL bool / gboolean uniform

FLOAT: 1

A float uniform

INT: 2

A GLSL int / gint32 uniform

NONE: 0

No type, used for uninitialized or unspecified values.

UINT: 3

A GLSL uint / guint32 uniform

VEC2: 5

A GLSL vec2 / graphene_vec2_t uniform

VEC3: 6

A GLSL vec3 / graphene_vec3_t uniform

VEC4: 7

A GLSL vec4 / graphene_vec4_t uniform

Variables

$gtype