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

struct PrimitiveBatch in Tinman.AddOns.Rendering

A rendering primitive batch.

struct PrimitiveBatch implements IEquatable<PrimitiveBatch>

Public / Constants

None

public static readonly field None
type PrimitiveBatch

Public / Attributes

Count

Number of vertex indices.

public readonly field Count
type int32

First

Index of first vertex index in buffer.

public readonly field First
type int32

Indexed

Is this an indexed primitive?

public readonly field Indexed
type bool

Type

The primitive type.

public readonly field Type
type Primitive

Public / Constructors

LineList

[Pure]
public static method LineList (int32 first, int32 count)
type PrimitiveBatch
params first
  count

LineListIndexed

[Pure]
public static method LineListIndexed (int32 first, int32 count)
type PrimitiveBatch
params first
  count

LineStrip

[Pure]
public static method LineStrip (int32 first, int32 count)
type PrimitiveBatch
params first
  count

LineStripIndexed

[Pure]
public static method LineStripIndexed (int32 first, int32 count)
type PrimitiveBatch
params first
  count

PointList

[Pure]
public static method PointList (int32 first, int32 count)
type PrimitiveBatch
params first
  count

PointListIndexed

[Pure]
public static method PointListIndexed (int32 first, int32 count)
type PrimitiveBatch
params first
  count

PrimitiveBatch

public constructor PrimitiveBatch (Primitive type, int32 first, int32 count, bool indexed)
params type
  first
  count
  indexed

TriangleList

[Pure]
public static method TriangleList (int32 first, int32 count)
type PrimitiveBatch
params first
  count

TriangleListIndexed

[Pure]
public static method TriangleListIndexed (int32 first, int32 count)
type PrimitiveBatch
params first
  count

TriangleStrip

[Pure]
public static method TriangleStrip (int32 first, int32 count)
type PrimitiveBatch
params first
  count

TriangleStripIndexed

[Pure]
public static method TriangleStripIndexed (int32 first, int32 count)
type PrimitiveBatch
params first
  count

Public / Methods

Equals

public method Equals (PrimitiveBatch other)
type bool
params other

Render

public method Render (IPrimitiveRenderer renderer, int32 baseIndex = 0)
params renderer
  baseIndex