Shader.Uniform - Mtax-Development/GML-OOP GitHub Wiki

Description

Constructs a Handler with properties of a single Uniform used to update values within its parent Shader.

Specification

Destruction
Elements
Garbage Collection
None

Properties

Name
Type
Default
Modifiable
parent
other
No
name
None
No
handle
{int}
None
No
type
None
No
value
{int[]|real[]|pointer:texture[]}
None
No
updateFunction
{function:shader_set_uniform_*_array|function:texture_set_stage}
function() {}
Yes

Construction types

Name
Arguments
New element
name {string}
handle {int}
type {string}
value {int[]|real[]|pointer:texture[]}
updateFunction? {function:shader_set_uniform_*_array|
⚠️ **GitHub.com Fallback** ⚠️