TerrainTextureParameters

Description

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

Derived from

RenderEffectParameters abstract

Shared render effect parameters for unique multi-texturing of the terrain.

The following low-level render effect parameter slots are always defined (N := TerrainSlotMapping.SlotCount):

Public / Constants

Changed​Texture​Atlas


public constant ChangedTextureAtlas → (1:int32)

Changed flag for TextureAtlas.

Changed​Texture​Source


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

Changed flag for TextureSource.

Flag​No​Texture​Array


public constant FlagNoTextureArray → (1:int32)

When present, low-level render effect parameter slots that are related to texture arrays will be omitted.

Public / Constructors

Terrain​Texture​Parameters


public constructor TerrainTextureParameters → ()

Creates a new instance of TerrainTextureParameters.

Public / Attributes

Texture​Atlas


public readonly attribute TextureAtlas → (RenderEffectParameterArray<TexturingBatchParameters>)

The aggregated texture atlas parameters for each terrain layer slot, see TerrainSlotMapping.SlotCount.

Texture​Source


public attribute TextureSource → (get,set)

value : TerrainSlotMapping

The texture source specification.

The terrain texture source specification.