ShaderArgsBuilder

constructor(shader: GlShader, initialValues: <Error class: unknown class>? = null)(source)

⚠️ Deprecated ⚠️

This is deprecated since version 4.16.

GTK's new Vulkan-focused rendering does not support this feature. Use ../gtk4/class.GLArea.html for OpenGL rendering.

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


constructor(gskShaderArgsBuilderPointer: <Error class: unknown class><<Error class: unknown class>>)(source)