A function defined in BBMOD_MaterialPropertyBlock.gml
set_matrix(_name)
Sets a value of a BBMOD_EShaderUniformType.Matrix property.
Name | Type | Description |
---|---|---|
_name | String |
The name of the property (shader uniform name). |
Struct.BBMOD_MaterialPropertyBlock
Returns self
.
var _materialProps = new BBMOD_MaterialPropertyBlock();
_materialProps.set_matrix("u_mMatrix");
This is a shorthand for set(name, BBMOD_EShaderUniformType.Matrix, undefined)
.
BBMOD_MaterialPropertyBlock.set
Copyright © 2024, BlueBurn. Built on September 07, 2024 using GMDoc.