ShaderArgsBuilder
Description:
[ CCode ( has_construct_function = false ) ]
public ShaderArgsBuilder (GLShader shader, Bytes? initial_values)
public ShaderArgsBuilder (GLShader shader, Bytes? initial_values)
Allocates a builder that can be used to construct a new uniform data chunk.
Note:
GTK's new Vulkan-focused rendering does not support this feature. Use [GtkGLArea](../gtk4/class.GLArea.html) for OpenGL rendering.
Parameters:
| shader |
a `GskGLShader` |
| initial_values |
optional `GBytes` with initial values |
Returns:
|
The newly allocated builder, free with [method@Gsk.ShaderArgsBuilder.unref] |