DeprecatedconstructorDeprecatedrefIncreases the reference count of a Gsk.ShaderArgsBuilder by one.
the passed in Gsk.ShaderArgsBuilder
Deprecatedset_Sets the value of the uniform idx.
The uniform must be of bool type.
Deprecatedidx: numberindex of the uniform
Deprecatedvalue: booleanvalue to set the uniform to
Deprecatedset_Sets the value of the uniform idx.
The uniform must be of float type.
Deprecatedidx: numberindex of the uniform
Deprecatedvalue: numbervalue to set the uniform to
Deprecatedset_Sets the value of the uniform idx.
The uniform must be of int type.
Deprecatedidx: numberindex of the uniform
Deprecatedvalue: numbervalue to set the uniform to
Deprecatedset_Sets the value of the uniform idx.
The uniform must be of uint type.
Deprecatedidx: numberindex of the uniform
Deprecatedvalue: numbervalue to set the uniform to
Deprecatedset_Sets the value of the uniform idx.
The uniform must be of vec2 type.
Deprecatedidx: numberindex of the uniform
Deprecatedvalue: Vec2value to set the uniform too
Deprecatedset_Sets the value of the uniform idx.
The uniform must be of vec3 type.
Deprecatedidx: numberindex of the uniform
Deprecatedvalue: Vec3value to set the uniform too
Deprecatedset_Sets the value of the uniform idx.
The uniform must be of vec4 type.
Deprecatedidx: numberindex of the uniform
Deprecatedvalue: Vec4value to set the uniform too
Deprecatedto_Creates a new GLib.Bytes args from the current state of the
given builder.
Any uniforms of the shader that have not been explicitly set on
the builder are zero-initialized.
The given Gsk.ShaderArgsBuilder is reset once this function returns;
you cannot call this function multiple times on the same builder instance.
This function is intended primarily for bindings. C code should use Gsk.ShaderArgsBuilder.free_to_args.
the newly allocated buffer with all the args added to builder
DeprecatedunrefDecreases the reference count of a GskShaderArgBuilder by one.
If the resulting reference count is zero, frees the builder.
StaticDeprecatednew
Builds the uniforms data for a Gsk.GLShader.
Deprecated
since 4.16