TINMAN 3D / REALTIME TERRAIN
Software Development Kit - User Manual

struct SectorBatch in Tinman.Terrain.Meshing

A render batch for a mesh sector, including an optional quadrant mask.

struct SectorBatch implements IComparable<SectorBatch>
  IEquatable<SectorBatch>

Remarks

SectorBatch values have this sort order:

  1. Sector (ascending)

Public / Constants

None

public static readonly field None
type SectorBatch

Public / Attributes

Face

The cubemap face of Sector.

public readonly field Face
type CubemapFace

QuadrantMask

Bitmask of mesh sector quadrants. Bits 0 to 3 represent the mesh quadrants.

public readonly field QuadrantMask
type int32

Remarks:

A value of 0xF means that all four mesh sector quadrants shall be rendered (i.e. the entire Sector).

Sector

The mesh sector.

public readonly field Sector
type int32

Public / Methods

CompareTo

public method CompareTo (SectorBatch other)
type int32
params other

Equals

public method Equals (SectorBatch other)
type bool
params other

Render

public method Render (Triangulation triangulation, IPrimitiveRenderer renderer)
params triangulation
  renderer