Added glViewerArray, glSissorArray, glDepthRangeArray etc. GL extension support
This commit is contained in:
committed by
Robert Osfield
parent
1df3cb9144
commit
ec74518868
@@ -626,7 +626,25 @@ class OSG_EXPORT GLExtensions : public osg::Referenced
|
||||
// MultiDrawArrays
|
||||
void (GL_APIENTRY * glMultiDrawArrays) (GLenum mode, const GLint * first, const GLsizei * count, GLsizei primcount);
|
||||
|
||||
// ViewportArray
|
||||
bool isViewportArraySupported;
|
||||
|
||||
void (GL_APIENTRY * glViewportArrayv) (GLuint first, GLsizei count, const GLfloat * v);
|
||||
void (GL_APIENTRY * glViewportIndexedf) (GLuint index, GLfloat x, GLfloat y, GLfloat w, GLfloat h);
|
||||
void (GL_APIENTRY * glViewportIndexedfv) (GLuint index, const GLfloat * v);
|
||||
void (GL_APIENTRY * glScissorArrayv) (GLuint first, GLsizei count, const GLint * v);
|
||||
void (GL_APIENTRY * glScissorIndexed) (GLuint index, GLint left, GLint bottom, GLsizei width, GLsizei height);
|
||||
void (GL_APIENTRY * glScissorIndexedv) (GLuint index, const GLint * v);
|
||||
void (GL_APIENTRY * glDepthRangeArrayv) (GLuint first, GLsizei count, const GLclampd * v);
|
||||
void (GL_APIENTRY * glDepthRangeIndexed) (GLuint index, GLclampd n, GLclampd f);
|
||||
void (GL_APIENTRY * glGetFloati_v) (GLenum target, GLuint index, GLfloat *data);
|
||||
void (GL_APIENTRY * glGetDoublei_v) (GLenum target, GLuint index, GLdouble *data);
|
||||
|
||||
//introduced by other OpenGL extensions such as EXT_draw_buffers2
|
||||
void (GL_APIENTRY * glGetIntegerIndexedvEXT) (GLenum target, GLuint index, int * v);
|
||||
void (GL_APIENTRY * glEnableIndexedEXT) (GLenum target, GLuint index);
|
||||
void (GL_APIENTRY * glDisableIndexedEXT) (GLenum target, GLuint index);
|
||||
GLboolean (GL_APIENTRY * glIsEnabledIndexedEXT) (GLenum target, GLuint index);
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user