Method

GskShaderArgsBuilderset_vec3

deprecated: 4.16 

Declaration [src]

void
gsk_shader_args_builder_set_vec3 (
  GskShaderArgsBuilder* builder,
  int idx,
  const graphene_vec3_t* value
)

Description [src]

Sets the value of the uniform idx.

The uniform must be of vec3 type.

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.

value

Type: graphene_vec3_t

Value to set the uniform too.

The data is owned by the caller of the method.