LodRegion

Description

struct Tinman.Terrain.Codec.LodRegion

Defines a LOD region in a regular spaced sample grid.

Public / Attributes

Block​Step


public readonly attribute BlockStep → (int32)

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

Block​X


public readonly attribute BlockX → (int32)

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

Block​Y


public readonly attribute BlockY → (int32)

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

Buffer​Step


public readonly attribute BufferStep → (int32)

Step distance to use for walking through the buffer samples.

Buffer​X


public readonly attribute BufferX → (int32)

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

Buffer​Y


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.

Lod​Id


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.