TerrainBufferResource

Description

sealed class Tinman.Engine.Components.TerrainBufferResource

Derived from

ResourceBase abstract

GPU resources for a TerrainBuffer.

Public / Methods

Texture​Atlas​At


public method TextureAtlasAt → (1)

index in : int32

[0..TerrainBufferResource.TextureAtlasCount-1]
The texture atlas index.

returns → TextureAtlas

The texture atlas.

Returns a texture atlas.

Public / Attributes

Fence​Compute


[Constant]
public attribute FenceCompute → (get)

value : IGraphicsFence

[not-null]
The graphics fence.

Returns the graphics fence to use for synchronizing with GPU triangulation before updating mesh data.

Fence​Models


[Constant]
public attribute FenceModels → (get)

value : IGraphicsFence

[not-null]
The graphics fence.

Returns the graphics fence to use for synchronizing with GPU rendering before updating the instance data of terrain models.

Fence​Terrain


[Constant]
public attribute FenceTerrain → (get)

value : IGraphicsFence

[not-null]
The graphics fence.

Returns the graphics fence to use for synchronizing with GPU rendering before updating the vertex and index data of the terrain mesh.

Texture​Atlas​Count


public attribute TextureAtlasCount → (get)

value : int32

[>=0]
The number of texture atlases.

Returns the number of texture atlases.

Logging

Logger


public static readonly attribute Logger → (ILogger)

The logger object of this class.