Oxygine  1
2g game engine
Public Member Functions | Public Attributes | List of all members
oxygine::VideoDriverNull Class Reference
Inheritance diagram for oxygine::VideoDriverNull:
oxygine::IVideoDriver

Public Member Functions

spNativeTexture createTexture ()
 
void clear (const Color &color)
 
void begin (const Rect &viewport, const Color *clearColor)
 
bool isReady () const
 
void getViewport (Rect &r) const
 
bool getScissorRect (Rect &) const
 
ShaderProgramgetShaderProgram () const
 
spNativeTexture getRenderTarget () const
 
const VertexDeclarationgetVertexDeclaration (bvertex_format) const
 
void draw (PRIMITIVE_TYPE pt, const VertexDeclaration *decl, const void *verticesData, unsigned int verticesDataSize)
 
void draw (PRIMITIVE_TYPE pt, const VertexDeclaration *decl, const void *verticesData, unsigned int verticesDataSize, const unsigned short *indicesData, unsigned int indicesDataSize)
 
void setUniformInt (const char *id, int v)
 
void setUniform (const char *id, const Vector4 *v, int num)
 
void setUniform (const char *id, const Vector3 *v, int num)
 
void setUniform (const char *id, const Vector2 *v, int num)
 
void setUniform (const char *id, const Matrix *mat)
 
void setUniform (const char *id, float val)
 
void setViewport (const Rect &viewport)
 
void setScissorRect (const Rect *)
 
void setDefaultSettings ()
 
void setRenderTarget (spNativeTexture)
 
void setShaderProgram (ShaderProgram *)
 
void setTexture (int sampler, spNativeTexture)
 
void setState (STATE, unsigned int value)
 
void setBlendFunc (BLEND_TYPE src, BLEND_TYPE dest)
 
void setDebugStats (bool enable)
 
void reset ()
 
void restore ()
 
- Public Member Functions inherited from oxygine::IVideoDriver
void _debugAddPrimitives (PRIMITIVE_TYPE pt, int num)
 

Public Attributes

spNativeTexture _rt
 

Additional Inherited Members

- Public Types inherited from oxygine::IVideoDriver
enum  PRIMITIVE_TYPE {
  PT_POINTS, PT_LINES, PT_LINE_LOOP, PT_LINE_STRIP,
  PT_TRIANGLES, PT_TRIANGLE_STRIP, PT_TRIANGLE_FAN, PT_COUNT
}
 
enum  BLEND_TYPE {
  BT_ZERO, BT_ONE, BT_SRC_COLOR, BT_ONE_MINUS_SRC_COLOR,
  BT_SRC_ALPHA, BT_ONE_MINUS_SRC_ALPHA, BT_DST_ALPHA, BT_DST_COLOR,
  BT_ONE_MINUS_DST_ALPHA, BT_ONE_MINUS_DST_COLOR
}
 
enum  CULL_FACE_TYPE { CULL_FACE_FRONT_AND_BACK, CULL_FACE_FRONT, CULL_FACE_BACK }
 
enum  STATE { STATE_BLEND, STATE_CULL_FACE, STATE_NUM }
 
- Static Public Attributes inherited from oxygine::IVideoDriver
static Stats _stats
 
static IVideoDriverinstance
 

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