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