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

Public Member Functions

void reset ()
 
void restore ()
 
spNativeTexture createTexture ()
 
bool isReady () const
 
void begin (const Rect &viewport, const Color *clearColor)
 
void clear (const Color &color)
 
ShaderProgramgetShaderProgram () const OVERRIDE
 
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 numIndices)
 
void setDefaultSettings ()
 
void setViewport (const Rect &viewport)
 
void setShaderProgram (ShaderProgram *)
 
void setTexture (int sampler, spNativeTexture)
 
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)
 
- Public Member Functions inherited from oxygine::VideoDriverGL
void getViewport (Rect &r) const
 
bool getScissorRect (Rect &) const
 
spNativeTexture getRenderTarget () const
 
const VertexDeclarationGLgetVertexDeclaration (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 IVideoDriverinstance
 
- 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)
 

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