function
apply_material(_material, _vertexFormat[, _enabledPasses])
Adds a BBMOD_ERenderCommand.ApplyMaterial command into the queue.
Name | Type | Description |
---|---|---|
_material | Struct.BBMOD_Material |
The material to apply. |
_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 © 2023, BlueBurn. Built on March 24, 2023 using GMDoc.