Added GLSL ES 1.00 (OpenGL ES 2) shader support.

--HG--
branch : minor
This commit is contained in:
Alex Szpakowski
2015-01-20 22:31:54 -04:00
parent 8067d42df2
commit 5df56d041a
9 changed files with 279 additions and 124 deletions
+12
View File
@@ -247,6 +247,16 @@ public:
**/
BlendState getBlendState() const;
/**
* Sets the global point size.
**/
void setPointSize(float size);
/**
* Gets the global point size.
**/
float getPointSize() const;
/**
* This will usually be 0 (system drawable), but some platforms require a
* non-zero FBO for rendering.
@@ -352,6 +362,8 @@ private:
Viewport viewport;
Viewport scissor;
float pointSize;
GLuint defaultFBO;
GLuint defaultTexture;