Example_RenderEffectParameters

Description

sealed class Tinman.Demo.Examples.Example_RenderEffectParameters

Derived from

RenderEffectParameters abstract

Full source code is included in the Tinman 3D SDK download.

This example shows how to implement a custom set of RenderEffectParameters.

The following low-level render effect parameter slots are defined:

Public / Constants

ChangedBuffer


public constant ChangedBuffer → (1:int32)

Changed flag for Buffer.

PassDefault


public constant PassDefault → (0:int32)

The default pass of the render effect.

Public / Constructors

Example_RenderEffectParameters


public constructor Example_RenderEffectParameters → ()

Creates a new instance of Example_RenderEffectParameters.

Public / Attributes

Buffer


public attribute Buffer → (get,set)

value : ITexture2D

The buffer texture.

The Game-of-Life buffer.

SlotBuffer


public attribute SlotBuffer → (get)

value : int32

The slot index or -1 if not declared.

Index of a low-level parameter slot.