A function defined in BBMOD_RenderQueue.gml
ApplyMaterial(_material, _vertexFormat[, _enabledPasses])
Adds a BBMOD_ERenderCommand.ApplyMaterial command into the queue.
Name | Type | Description |
---|---|---|
_material | Struct.BBMOD_Material |
The material to apply. |
_vertexFormat | Struct.BBMOD_VertexFormat |
The vertex format of models that will be rendered using this material. |
_enabledPasses | Real |
Mask of enabled rendering passes. The material will not be applied if the current rendering pass is not one of them. |
Struct.BBMOD_RenderQueue
Returns self
.
Copyright © 2025, BlueBurn. Built on January 04, 2025 using GMDoc.