Method

GskGLShaderget_uniform_type

deprecated: 4.16 

Declaration [src]

GskGLUniformType
gsk_gl_shader_get_uniform_type (
  GskGLShader* shader,
  int idx
)

Description [src]

Get the type of the declared uniform for this shader at index idx.

Deprecated since: 4.16

GTK’s new Vulkan-focused rendering does not support this feature. Use GtkGLArea for OpenGL rendering.

Parameters

idx

Type: int

Index of the uniform.

Return value

Type: GskGLUniformType

The type of the declared uniform.