DeprecatedconstructorDeprecated 4.16refIncreases the reference count of a Gsk.ShaderArgsBuilder by one.
the passed in Gsk.ShaderArgsBuilder
since 4.16: GTK's new Vulkan-focused rendering does not support this feature. Use GtkGLArea for OpenGL rendering.
Deprecated 4.16set_Sets the value of the uniform idx.
The uniform must be of bool type.
Deprecatedidx: number
index of the uniform
Deprecatedvalue: boolean
value to set the uniform to
since 4.16: GTK's new Vulkan-focused rendering does not support this feature. Use GtkGLArea for OpenGL rendering.
Deprecated 4.16set_Deprecated 4.16set_Sets the value of the uniform idx.
The uniform must be of int type.
Deprecatedidx: number
index of the uniform
Deprecatedvalue: number
value to set the uniform to
since 4.16: GTK's new Vulkan-focused rendering does not support this feature. Use GtkGLArea for OpenGL rendering.
Deprecated 4.16set_Sets the value of the uniform idx.
The uniform must be of uint type.
Deprecatedidx: number
index of the uniform
Deprecatedvalue: number
value to set the uniform to
since 4.16: GTK's new Vulkan-focused rendering does not support this feature. Use GtkGLArea for OpenGL rendering.
Deprecated 4.16set_Sets the value of the uniform idx.
The uniform must be of vec2 type.
Deprecatedidx: number
index of the uniform
Deprecatedvalue: Vec2
value to set the uniform too
since 4.16: GTK's new Vulkan-focused rendering does not support this feature. Use GtkGLArea for OpenGL rendering.
Deprecated 4.16set_Sets the value of the uniform idx.
The uniform must be of vec3 type.
Deprecatedidx: number
index of the uniform
Deprecatedvalue: Vec3
value to set the uniform too
since 4.16: GTK's new Vulkan-focused rendering does not support this feature. Use GtkGLArea for OpenGL rendering.
Deprecated 4.16set_Sets the value of the uniform idx.
The uniform must be of vec4 type.
Deprecatedidx: number
index of the uniform
Deprecatedvalue: Vec4
value to set the uniform too
since 4.16: GTK's new Vulkan-focused rendering does not support this feature. Use GtkGLArea for OpenGL rendering.
Deprecated 4.16to_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
since 4.16: GTK's new Vulkan-focused rendering does not support this feature. Use GtkGLArea for OpenGL rendering.
Deprecated 4.16unrefDecreases the reference count of a GskShaderArgBuilder by one.
If the resulting reference count is zero, frees the builder.
since 4.16: GTK's new Vulkan-focused rendering does not support this feature. Use GtkGLArea for OpenGL rendering.
StaticDeprecatednew
Builds the uniforms data for a Gsk.GLShader.
Deprecated
since 4.16