Class MaterialSetupRenderPass

Class Hierarchy

Use the Material Setup Render Pass to set properties to a material for further render operations using that material.

Kanzi sets to the material all properties you add to a Material Setup Render Pass, except the MaterialSetupRenderPass.Material property.

Kanzi executes render passes in the depth-first order. This means that rendering changes you apply in a Material Setup Render Pass are effective in the sibling render passes that follow this render pass and successive render passes in the render pass tree.

For example, use the Material Setup Render Pass to set a depth texture as a property of a material. Then rendering nodes using that material can use the depth texture as shadow map.

Use a Material Setup render pass to set properties into a material for successive rendering with that material.

Inherits properties and message types from MaterialSetupRenderPassMetadata.

Synopsis

Methods
create()

Create a Material Setup Render Pass

MaterialSetupRenderPass.MaterialSetupRenderPass:create(name)

Create a Material Setup Render Pass.

Parameters
name (string)

The name of the Material Setup Render Pass.

Return Values
(MaterialSetupRenderPass)

The created Material Setup Render Pass.