apply_material

function

apply_material(_material[, _enabledPasses])

Description

Adds a BBMOD_ERenderCommand.ApplyMaterial command into the queue.

Arguments

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.

Returns

Struct.BBMOD_RenderQueue Returns self.

Do you find this page helpful?

Copyright © 2022, BlueBurn. Built on June 19, 2022 using GMDoc.