Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | Related Pages

RenderPrimitive Class Reference

#include <renderprimitive.h>

Collaboration diagram for RenderPrimitive:

Collaboration graph
[legend]
List of all members.

Detailed Description

Render batch data Data for a single render operation.

Author:
Mattias Jansson (mattias@realityrift.com)


Public Types

enum  RENDERPRIMITIVETYPE
 Supported primitive types.

enum  RENDERPRIMITIVEFLAG { , NOTRANSLATION = 0x0002 }
 Flags for rendering op. More...


Public Attributes

RENDERPRIMITIVETYPE m_ePrimitive
Matrix m_kModelMatrix
Matrix m_kInvModelMatrix
VertexBufferPtr m_pkVertexBuffer
PolygonBufferPtr m_pkPolygonBuffer
PolygonStripBufferPtr m_pkPolygonStripBuffer
unsigned int m_uiNumPrimitives
MaterialPtr m_pkMaterial
float m_fSize
union {
m_aUnknown [7]


Member Enumeration Documentation

enum RENDERPRIMITIVEFLAG
 

Flags for rendering op.

Enumeration values:
NOTRANSLATION  Do not use camera or model translation, only rotation (useful for sky rendering)


Member Data Documentation

RENDERPRIMITIVETYPE m_ePrimitive
 

Render primitive type

Matrix m_kModelMatrix
 

Model matrix for this render operation

Matrix m_kInvModelMatrix
 

Inverse model matrix for this render operation

VertexBufferPtr m_pkVertexBuffer
 

Vertex data

PolygonBufferPtr m_pkPolygonBuffer
 

Polygon data

PolygonStripBufferPtr m_pkPolygonStripBuffer
 

Polygon strip data

unsigned int m_uiNumPrimitives
 

Number of primitives to render

MaterialPtr m_pkMaterial
 

Material to use when rendering this operation

float m_fSize
 

Line and point width/size

union { ... } m_aUnknown[7]
 

Unknown data, used internally by render device or future interface changes


The documentation for this class was generated from the following file:
Generated on Wed Jan 21 14:21:14 2004 for NeoEngine by doxygen 1.3.5