LodRegion

Description

struct Tinman.Terrain.Codec.LodRegion

Defines a LOD region in a regular spaced sample grid.

Public / Attributes

BlockStep


public readonly attribute BlockStep → (int32)

Step distance to use for walking through the LOD block samples.

BlockX


public readonly attribute BlockX → (int32)

X-coordinate of top-left LOD block sample, in local block coordinates.

BlockY


public readonly attribute BlockY → (int32)

Y-coordinate of top-left LOD block sample, in local block coordinates.

BufferStep


public readonly attribute BufferStep → (int32)

Step distance to use for walking through the buffer samples.

BufferX


public readonly attribute BufferX → (int32)

X-coordinate of top-left sample in step aligned cubemap face region, in local buffer coordinates.

BufferY


public readonly attribute BufferY → (int32)

Y-coordinate of top-left sample in step aligned cubemap face region, in local buffer coordinates.

Height


public readonly attribute Height → (int32)

Height of intersection between step aligned cubemap face region and LOD block, in samples.

LodId


public readonly attribute LodId → (int64)

The Lod-ID of the block that intersects the given region.

Width


public readonly attribute Width → (int32)

Width of intersection between step aligned cubemap face region and LOD block, in samples.