Function
GskShaderArgsBuildernew
Declaration [src]
GskShaderArgsBuilder*
gsk_shader_args_builder_new (
GskGLShader* shader,
GBytes* initial_values
)
Parameters
shader-
Type:
GskGLShaderA
GskGLShaderThe 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. |