Struct

GskShaderArgsBuilder

Description [src]

struct GskShaderArgsBuilder {
  /* No available fields */
}

An object to build the uniforms data for a GskGLShader.

Constructors

gsk_shader_args_builder_new

Allocates a builder that can be used to construct a new uniform data chunk.

Instance methods

gsk_shader_args_builder_free_to_args

Creates a new GBytes args from the current state of the given builder, and frees the builder instance.

gsk_shader_args_builder_ref

Increases the reference count of a GskShaderArgsBuilder by one.

gsk_shader_args_builder_set_bool

Sets the value of the uniform idx.

gsk_shader_args_builder_set_float

Sets the value of the uniform idx.

gsk_shader_args_builder_set_int

Sets the value of the uniform idx.

gsk_shader_args_builder_set_uint

Sets the value of the uniform idx.

gsk_shader_args_builder_set_vec2

Sets the value of the uniform idx.

gsk_shader_args_builder_set_vec3

Sets the value of the uniform idx.

gsk_shader_args_builder_set_vec4

Sets the value of the uniform idx.

gsk_shader_args_builder_to_args

Creates a new GBytes args from the current state of the given builder.

gsk_shader_args_builder_unref

Decreases the reference count of a GskShaderArgBuilder by one.