DecalingBatch

Description

struct Tinman.Terrain.Meshing.DecalingBatch

Output batch of the Decaling class.

DecalingBatch values have the following natural sort order:

  1. Priority (ascending)

  2. Mapping (ascending)

  3. Batch (ascending)

Public / Constants

Empty


public static readonly attribute Empty → (DecalingBatch)

The empty batch.

Public / Constructors

DecalingBatch


public constructor DecalingBatch → (3)

batch in : SectorBatch

The mesh sector.

mapping in : DecalFace

The decal descriptor to use.

priority in : int32

The decal priority.

Creates a new instance of DecalingBatch.

Public / Attributes

Batch


public readonly attribute Batch → (SectorBatch)

The mesh sector.

Mapping


public readonly attribute Mapping → (DecalFace)

The decal descriptor to use.

Priority


public readonly attribute Priority → (int32)

The priority of this decal.

Decals with higher priority are rendered on top of decals with lower priority.