BBMOD_RenderQueue.ApplyMaterial

A function defined in BBMOD_RenderQueue.gml

ApplyMaterial(_material, _vertexFormat[, _enabledPasses])

Description

Adds a BBMOD_ERenderCommand.ApplyMaterial command into the queue.

Arguments

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.

Returns

Struct.BBMOD_RenderQueue Returns self.

Do you find this page helpful?

Copyright © 2024, BlueBurn. Built on April 26, 2024 using GMDoc.