XII Release 0.1.0
Loading...
Searching...
No Matches
xiiGALPrimitiveTopology Struct Reference

This describes the topology of how vertices are interpreted by the pipeline. More...

#include <GraphicsTypes.h>

Inheritance diagram for xiiGALPrimitiveTopology:
[legend]

Public Types

enum  Enum : StorageType {
  Undefined = -1 , PointList , LineList , TriangleList ,
  TriangleStrip , LineStrip , TriangleListAdjacent , TriangleStripAdjacent ,
  LineListAdjacent , LineStripAdjacent , ControlPointPatchList1 , ControlPointPatchList2 ,
  ControlPointPatchList3 , ControlPointPatchList4 , ControlPointPatchList5 , ControlPointPatchList6 ,
  ControlPointPatchList7 , ControlPointPatchList8 , ControlPointPatchList9 , ControlPointPatchList10 ,
  ControlPointPatchList11 , ControlPointPatchList12 , ControlPointPatchList13 , ControlPointPatchList14 ,
  ControlPointPatchList15 , ControlPointPatchList16 , ControlPointPatchList17 , ControlPointPatchList18 ,
  ControlPointPatchList19 , ControlPointPatchList20 , ControlPointPatchList21 , ControlPointPatchList22 ,
  ControlPointPatchList23 , ControlPointPatchList24 , ControlPointPatchList25 , ControlPointPatchList26 ,
  ControlPointPatchList27 , ControlPointPatchList28 , ControlPointPatchList29 , ControlPointPatchList30 ,
  ControlPointPatchList31 , ControlPointPatchList32 , ENUM_COUNT , Default = Undefined
}
 
using StorageType = xiiInt8
 

Static Public Member Functions

static XII_ALWAYS_INLINE xiiUInt32 VerticesPerPrimitive (xiiGALPrimitiveTopology::Enum e)
 
static XII_ALWAYS_INLINE xiiUInt32 GetIndexCount (xiiGALPrimitiveTopology::Enum e, xiiUInt32 uiPrimitiveCount)
 

Static Public Attributes

static const char * Names [ENUM_COUNT]
 

Detailed Description

This describes the topology of how vertices are interpreted by the pipeline.

Member Enumeration Documentation

◆ Enum

enum xiiGALPrimitiveTopology::Enum : StorageType
Enumerator
Undefined 

Undefined topology.

PointList 

Interpret the vertex data as a list of points.

LineList 

Interpret the vertex data as a list of lines.

TriangleList 

Interpret the vertex data as a list of triangles.

TriangleStrip 

Interpret the vertex data as a triangle strip.

LineStrip 

Interpret the vertex data as a line strip.

TriangleListAdjacent 

Interpret the vertex data as a list of triangles with adjacency data.

TriangleStripAdjacent 

Interpret the vertex data as a triangle strip with adjacency data.

LineListAdjacent 

Interpret the vertex data as a list of lines with adjacency data.

LineStripAdjacent 

Interpret the vertex data as a line strip with adjacency data.

ControlPointPatchList1 

Interpret the vertex data as a list of one control point patches.

ControlPointPatchList2 

Interpret the vertex data as a list of two control point patches.

ControlPointPatchList3 

Interpret the vertex data as a list of three control point patches.

ControlPointPatchList4 

Interpret the vertex data as a list of four control point patches.

ControlPointPatchList5 

Interpret the vertex data as a list of five control point patches.

ControlPointPatchList6 

Interpret the vertex data as a list of six control point patches.

ControlPointPatchList7 

Interpret the vertex data as a list of seven control point patches.

ControlPointPatchList8 

Interpret the vertex data as a list of eight control point patches.

ControlPointPatchList9 

Interpret the vertex data as a list of nine control point patches.

ControlPointPatchList10 

Interpret the vertex data as a list of ten control point patches.

ControlPointPatchList11 

Interpret the vertex data as a list of 11 control point patches.

ControlPointPatchList12 

Interpret the vertex data as a list of 12 control point patches.

ControlPointPatchList13 

Interpret the vertex data as a list of 13 control point patches.

ControlPointPatchList14 

Interpret the vertex data as a list of 14 control point patches.

ControlPointPatchList15 

Interpret the vertex data as a list of 15 control point patches.

ControlPointPatchList16 

Interpret the vertex data as a list of 16 control point patches.

ControlPointPatchList17 

Interpret the vertex data as a list of 17 control point patches.

ControlPointPatchList18 

Interpret the vertex data as a list of 18 control point patches.

ControlPointPatchList19 

Interpret the vertex data as a list of 19 control point patches.

ControlPointPatchList20 

Interpret the vertex data as a list of 20 control point patches.

ControlPointPatchList21 

Interpret the vertex data as a list of 21 control point patches.

ControlPointPatchList22 

Interpret the vertex data as a list of 22 control point patches.

ControlPointPatchList23 

Interpret the vertex data as a list of 23 control point patches.

ControlPointPatchList24 

Interpret the vertex data as a list of 24 control point patches.

ControlPointPatchList25 

Interpret the vertex data as a list of 25 control point patches.

ControlPointPatchList26 

Interpret the vertex data as a list of 26 control point patches.

ControlPointPatchList27 

Interpret the vertex data as a list of 27 control point patches.

ControlPointPatchList28 

Interpret the vertex data as a list of 28 control point patches.

ControlPointPatchList29 

Interpret the vertex data as a list of 29 control point patches.

ControlPointPatchList30 

Interpret the vertex data as a list of 30 control point patches.

ControlPointPatchList31 

Interpret the vertex data as a list of 31 control point patches.

ControlPointPatchList32 

Interpret the vertex data as a list of 32 control point patches.


The documentation for this struct was generated from the following files: