Function
GskShaderArgsBuildernew
deprecated: 4.16
Declaration [src]
GskShaderArgsBuilder*
gsk_shader_args_builder_new (
GskGLShader* shader,
GBytes* initial_values
)
Description [src]
Allocates a builder that can be used to construct a new uniform data chunk.
Deprecated since: 4.16
GTK’s new Vulkan-focused rendering does not support this feature. Use GtkGLArea for OpenGL rendering.
Parameters
shader-
Type:
GskGLShaderA
GskGLShader.The data is owned by the caller of the function. initial_values-
Type:
GBytesOptional
GByteswith initial values.The argument can be NULL.The data is owned by the caller of the function.
Return value
Type: GskShaderArgsBuilder
The newly allocated builder, free with
gsk_shader_args_builder_unref().
| The caller of the function takes ownership of the data, and is responsible for freeing it. |