omegalib  13.1
omega::GpuDrawCall Class Reference

#include <GpuProgram.h>

Classes

struct  TextureBinding
 

Public Types

enum  PrimType {
  PrimNone, PrimPoints, PrimLines, PrimTriangles,
  PrimTriangleStrip
}
 

Public Member Functions

 GpuDrawCall (GpuProgram *program)
 
void setVertexArray (VertexArray *va)
 
void addTexture (const String &name, Texture *tx)
 
void clearTextures ()
 
UniformaddUniform (const String &name)
 
void clearUniforms ()
 
void run ()
 
- Public Member Functions inherited from omicron::ReferenceType
 ReferenceType ()
 
virtual ~ReferenceType ()
 
void ref ()
 
void unref ()
 
long refCount ()
 

Public Attributes

PrimType primType
 
unsigned int items
 

Static Public Attributes

static const int MaxParams = 64
 

Additional Inherited Members

- Static Public Member Functions inherited from omicron::ReferenceType
static void printObjCounts ()
 
- Static Protected Attributes inherited from omicron::ReferenceType
static List< ReferenceType * > mysObjList
 
+ Inheritance diagram for omega::GpuDrawCall:

Member Enumeration Documentation

Enumerator
PrimNone 
PrimPoints 
PrimLines 
PrimTriangles 
PrimTriangleStrip 

Constructor & Destructor Documentation

omega::GpuDrawCall::GpuDrawCall ( GpuProgram program)
inline

Member Function Documentation

void omega::GpuDrawCall::addTexture ( const String name,
Texture tx 
)
Uniform* omega::GpuDrawCall::addUniform ( const String name)
void omega::GpuDrawCall::clearTextures ( )
void omega::GpuDrawCall::clearUniforms ( )
void omega::GpuDrawCall::run ( )
void omega::GpuDrawCall::setVertexArray ( VertexArray va)

Member Data Documentation

unsigned int omega::GpuDrawCall::items
const int omega::GpuDrawCall::MaxParams = 64
static
PrimType omega::GpuDrawCall::primType

The documentation for this class was generated from the following file: