| 
    Oxygine
    1
    
   2g game engine 
   | 
 
#include <VideoDriverGL.h>
  
 Public Member Functions | |
| 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 | |
| virtual void | reset ()=0 | 
| virtual void | restore ()=0 | 
| virtual bool | isReady () const =0 | 
| virtual spNativeTexture | createTexture ()=0 | 
| virtual void | clear (const Color &color)=0 | 
| virtual void | begin (const Rect &viewport, const Color *color)=0 | 
| virtual void | draw (PRIMITIVE_TYPE pt, const VertexDeclaration *decl, const void *verticesData, unsigned int verticesDataSize)=0 | 
| virtual void | draw (PRIMITIVE_TYPE pt, const VertexDeclaration *decl, const void *verticesData, unsigned int verticesDataSize, const unsigned short *indicesData, unsigned int numIndices)=0 | 
| virtual ShaderProgram * | getShaderProgram () const =0 | 
| virtual void | setDefaultSettings ()=0 | 
| virtual void | setViewport (const Rect &viewport)=0 | 
| virtual void | setShaderProgram (ShaderProgram *)=0 | 
| virtual void | setTexture (int sampler, spNativeTexture)=0 | 
| virtual void | setUniform (const char *id, const Vector4 *v, int num)=0 | 
| virtual void | setUniform (const char *id, const Vector3 *v, int num)=0 | 
| virtual void | setUniform (const char *id, const Vector2 *v, int num)=0 | 
| virtual void | setUniform (const char *id, const Matrix *)=0 | 
| virtual void | setUniform (const char *id, float v)=0 | 
| virtual void | setUniformInt (const char *id, int v)=0 | 
| void | _debugAddPrimitives (PRIMITIVE_TYPE pt, int num) | 
Protected Member Functions | |
| unsigned int | getPT (IVideoDriver::PRIMITIVE_TYPE pt) | 
| unsigned int | getBT (IVideoDriver::BLEND_TYPE pt) | 
| void | _begin (const Rect &viewport, const Color *clearColor) | 
Protected Attributes | |
| 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 | 
intermediate gl driver with some shared gl code
 1.8.14