ShaderArgsBuilder.freeToArgs

Creates a new #GBytes args from the current state of the given @builder, and frees the @builder instance.

Any uniforms of the shader that have not been explicitly set on the @builder are zero-initialized.

class ShaderArgsBuilder
freeToArgs
()

Return Value

Type: Bytes

the newly allocated buffer with all the args added to @builder

Meta