set_shader

function

set_shader(_pass, _shader)

Description

Defines a shader used in a specific render pass.

Arguments

Name Type Description
_pass Enum.BBMOD_ERenderPass The render pass.
_shader Struct.BBMOD_Shader The shader used in the render pass.

Returns

Struct.BBMOD_Material Returns self.

See also

BBMOD_ERenderPass, BBMOD_Material.get_shader, bbmod_render_pass_set

Do you find this page helpful?

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