| 
    Oxygine
    1
    
   2g game engine 
   | 
 
  
 Public Member Functions | |
| void | reset () override | 
| void | restore () override | 
| spNativeTexture | createTexture () override | 
| bool | isReady () const override | 
| void | begin (const Rect &viewport, const Color *clearColor) override | 
| void | clear (const Color &color) override | 
| ShaderProgram * | getShaderProgram () const override | 
| void | draw (PRIMITIVE_TYPE pt, const VertexDeclaration *decl, const void *verticesData, unsigned int verticesDataSize) override | 
| void | draw (PRIMITIVE_TYPE pt, const VertexDeclaration *decl, const void *verticesData, unsigned int verticesDataSize, const unsigned short *indicesData, unsigned int numIndices) override | 
| void | setDefaultSettings () override | 
| void | setViewport (const Rect &viewport) override | 
| void | setShaderProgram (ShaderProgram *) override | 
| void | setTexture (int sampler, spNativeTexture) override | 
| void | setUniformInt (const char *id, int v) override | 
| void | setUniform (const char *id, const Vector4 *v, int num) override | 
| void | setUniform (const char *id, const Vector3 *v, int num) override | 
| void | setUniform (const char *id, const Vector2 *v, int num) override | 
| void | setUniform (const char *id, const Matrix *mat) override | 
| void | setUniform (const char *id, float val) override | 
  Public Member Functions inherited from oxygine::VideoDriverGL | |
| void | getViewport (Rect &r) const | 
| bool | getScissorRect (Rect &) const | 
| spNativeTexture | getRenderTarget () const | 
| const VertexDeclarationGL * | getVertexDeclaration (bvertex_format) const | 
| void | setScissorRect (const Rect *) | 
| void | setRenderTarget (spNativeTexture rt) | 
| void | setBlendFunc (BLEND_TYPE src, BLEND_TYPE dest) | 
| void | setState (STATE, unsigned int value) | 
  Public Member Functions inherited from oxygine::IVideoDriver | |
| void | _debugAddPrimitives (PRIMITIVE_TYPE pt, int num) | 
Protected Attributes | |
| GLuint | _vbo | 
| GLuint | _ibo | 
| int | _programID | 
| ShaderProgram * | _p | 
  Protected Attributes inherited from oxygine::VideoDriverGL | |
| spNativeTextureGLES | _rt | 
| VertexDeclarations< VertexDeclarationGL > | _vdeclarations | 
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 IVideoDriver * | instance | 
  Protected Member Functions inherited from oxygine::VideoDriverGL | |
| unsigned int | getPT (IVideoDriver::PRIMITIVE_TYPE pt) | 
| unsigned int | getBT (IVideoDriver::BLEND_TYPE pt) | 
| void | _begin (const Rect &viewport, const Color *clearColor) | 
 1.8.14