Class BlitRenderPass

Class Hierarchy

Use the Blit Render Pass to blit one or more textures to the screen of the current rendering context using a material. After the blit operation, a Blit Render Pass passes the control to its descendants and then further to its siblings and parent.

Use the Blit Render Pass to show the result of other render passes. For example, to show the result of a Composition Target Render Pass, in the Blit Render Pass bind one of the texture properties (Texture0Property, Texture1Property, Texture2Property, or Texture3Property) to the render target texture that the

Kanzi Studio uses a default blit material named "DefaultBlitMaterial" which is in the resource dictionary of the Screen node. This default blit material uses only the Texture0Property and its purpose is to show the result of a CompositionTargetRenderPass.

If you use your own materials in a Blit Render Pass, to ensure ease of use in Kanzi Studio projects, use the Blit Render Pass default texture properties.

Use a Blit render pass to blit one or more textures to the screen of the current rendering context using a material.

Inherits properties and message types from BlitRenderPassMetadata.

Synopsis

Methods
create()

Create a Blit Render Pass

BlitRenderPass.BlitRenderPass:create(name)

Create a Blit Render Pass.

Parameters
name (string)

The name of the Blit Render Pass.

Return Values
(BlitRenderPass)

The created Blit Render Pass.