new

fun new(shader: GLShader, initialValues: <Error class: unknown class>? = null): ShaderArgsBuilder

Allocates a builder that can be used to construct a new uniform data chunk.

Return

The newly allocated builder, free with method@Gsk.ShaderArgsBuilder.unref

Parameters

shader

a GskGLShader

initialValues

optional GBytes with initial values