Example_RenderEffectParameters

Description

sealed class Tinman.Demo.Examples.Impl.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

Changed​Buffer


public constant ChangedBuffer → (1:int32)

Changed flag for Buffer.

Pass​Default


public constant PassDefault → (0:int32)

The default pass of the render effect.

Public / Constructors

Example_​Render​Effect​Parameters


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.

Slot​Buffer


public attribute SlotBuffer → (get)

value : int32

The slot index or -1 if not declared.

Index of a low-level parameter slot.