format_args_va


Description:

public Bytes format_args_va (va_list uniforms)

Formats the uniform data as needed for feeding the named uniforms values into the shader.

The argument list is a list of pairs of names, and values for the types that match the declared uniforms (i.e. double/int/guint/gboolean for primitive values and `graphene_vecN_t *` for vecN uniforms).

It is an error to pass a uniform name that is not declared by the shader.

Any uniforms of the shader that are not included in the argument list are zero-initialized.

Parameters:

this

a `GskGLShader`

uniforms

name-Value pairs for the uniforms of this, ending with a null name

Returns:

A newly allocated block of data which can be passed to [[email protected]].




2022 vala-language.org