MeshParameters

Description

sealed class Tinman.Engine.Rendering.Effects.Shared.MeshParameters

Derived from

RenderEffectParameters abstract

Shared render effect parameters for terrain mesh processing on the GPU.

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

Public / Constants

Changed​Count


public constant ChangedCount → (1 << 0:int32)

Changed flag for Count.

Changed​Draw


public constant ChangedDraw → (1 << 1:int32)

Changed flag for Draw.

Changed​Flip


public constant ChangedFlip → (1 << 2:int32)

Changed flag for Flip.

Changed​Input


public constant ChangedInput → (1 << 3:int32)

Changed flag for Input.

Changed​Output


public constant ChangedOutput → (1 << 4:int32)

Changed flag for Output.

Changed​Slices


public constant ChangedSlices → (1 << 5:int32)

Changed flag for Slices.

Changed​Structure


public constant ChangedStructure → (1 << 6:int32)

Changed flag for Structure.

Public / Constructors

Mesh​Parameters


public constructor MeshParameters → ()

Creates a new instance of MeshParameters.

Public / Attributes

Count


public attribute Count → (get,set)

value : int32

The number of triangulation slices.

The number of triangulation slices to process.

Draw


public attribute Draw → (get,set)

value : IGpuBuffer

The output indirect draw command argument buffer.

The output GPU buffer that will receive the indirect draw command arguments.

Flip


public attribute Flip → (get,set)

value : bool

true to flip triangle winding, false to retain it.

Flip triangle winding?

Input


public attribute Input → (get,set)

value : IGpuBuffer

The input triangulation result buffer.

The input GPU buffer that holds the triangulation result.

Output


public attribute Output → (get,set)

value : IIndexBuffer

The output triangle list buffer.

The output GPU buffer that will receive the vertex indices of the generated triangle list.

Slices


public attribute Slices → (get,set)

value : IGpuBuffer

The input triangulation slices buffer.

The input GPU buffer that holds the triangulation slices (see Triangulation.Slices).

Structure


public attribute Structure → (get,set)

value : IGpuBuffer

The input mesh structure buffer.

The input GPU buffer that holds the terrain mesh structure.