|
| State () |
|
| ~State () |
|
void | initialize (const Caps &caps, const Extensions &extensions, GLuint clientVersion, bool debug, bool bindGeneratesResource) |
|
void | reset () |
|
const RasterizerState & | getRasterizerState () const |
|
const BlendState & | getBlendState () const |
|
const DepthStencilState & | getDepthStencilState () const |
|
void | setColorClearValue (float red, float green, float blue, float alpha) |
|
void | setDepthClearValue (float depth) |
|
void | setStencilClearValue (int stencil) |
|
const ColorF & | getColorClearValue () const |
|
float | getDepthClearValue () const |
|
int | getStencilClearValue () const |
|
void | setColorMask (bool red, bool green, bool blue, bool alpha) |
|
void | setDepthMask (bool mask) |
|
bool | isRasterizerDiscardEnabled () const |
|
void | setRasterizerDiscard (bool enabled) |
|
bool | isPrimitiveRestartEnabled () const |
|
void | setPrimitiveRestart (bool enabled) |
|
bool | isCullFaceEnabled () const |
|
void | setCullFace (bool enabled) |
|
void | setCullMode (GLenum mode) |
|
void | setFrontFace (GLenum front) |
|
bool | isDepthTestEnabled () const |
|
void | setDepthTest (bool enabled) |
|
void | setDepthFunc (GLenum depthFunc) |
|
void | setDepthRange (float zNear, float zFar) |
|
float | getNearPlane () const |
|
float | getFarPlane () const |
|
bool | isBlendEnabled () const |
|
void | setBlend (bool enabled) |
|
void | setBlendFactors (GLenum sourceRGB, GLenum destRGB, GLenum sourceAlpha, GLenum destAlpha) |
|
void | setBlendColor (float red, float green, float blue, float alpha) |
|
void | setBlendEquation (GLenum rgbEquation, GLenum alphaEquation) |
|
const ColorF & | getBlendColor () const |
|
bool | isStencilTestEnabled () const |
|
void | setStencilTest (bool enabled) |
|
void | setStencilParams (GLenum stencilFunc, GLint stencilRef, GLuint stencilMask) |
|
void | setStencilBackParams (GLenum stencilBackFunc, GLint stencilBackRef, GLuint stencilBackMask) |
|
void | setStencilWritemask (GLuint stencilWritemask) |
|
void | setStencilBackWritemask (GLuint stencilBackWritemask) |
|
void | setStencilOperations (GLenum stencilFail, GLenum stencilPassDepthFail, GLenum stencilPassDepthPass) |
|
void | setStencilBackOperations (GLenum stencilBackFail, GLenum stencilBackPassDepthFail, GLenum stencilBackPassDepthPass) |
|
GLint | getStencilRef () const |
|
GLint | getStencilBackRef () const |
|
bool | isPolygonOffsetFillEnabled () const |
|
void | setPolygonOffsetFill (bool enabled) |
|
void | setPolygonOffsetParams (GLfloat factor, GLfloat units) |
|
bool | isSampleAlphaToCoverageEnabled () const |
|
void | setSampleAlphaToCoverage (bool enabled) |
|
bool | isSampleCoverageEnabled () const |
|
void | setSampleCoverage (bool enabled) |
|
void | setSampleCoverageParams (GLclampf value, bool invert) |
|
GLclampf | getSampleCoverageValue () const |
|
bool | getSampleCoverageInvert () const |
|
void | setSampleAlphaToOne (bool enabled) |
|
bool | isSampleAlphaToOneEnabled () const |
|
void | setMultisampling (bool enabled) |
|
bool | isMultisamplingEnabled () const |
|
bool | isScissorTestEnabled () const |
|
void | setScissorTest (bool enabled) |
|
void | setScissorParams (GLint x, GLint y, GLsizei width, GLsizei height) |
|
const Rectangle & | getScissor () const |
|
bool | isDitherEnabled () const |
|
void | setDither (bool enabled) |
|
void | setEnableFeature (GLenum feature, bool enabled) |
|
bool | getEnableFeature (GLenum feature) const |
|
void | setLineWidth (GLfloat width) |
|
float | getLineWidth () const |
|
void | setGenerateMipmapHint (GLenum hint) |
|
void | setFragmentShaderDerivativeHint (GLenum hint) |
|
bool | isBindGeneratesResourceEnabled () const |
|
void | setViewportParams (GLint x, GLint y, GLsizei width, GLsizei height) |
|
const Rectangle & | getViewport () const |
|
void | setActiveSampler (unsigned int active) |
|
unsigned int | getActiveSampler () const |
|
void | setSamplerTexture (GLenum type, Texture *texture) |
|
Texture * | getTargetTexture (GLenum target) const |
|
Texture * | getSamplerTexture (unsigned int sampler, GLenum type) const |
|
GLuint | getSamplerTextureId (unsigned int sampler, GLenum type) const |
|
void | detachTexture (const TextureMap &zeroTextures, GLuint texture) |
|
void | initializeZeroTextures (const TextureMap &zeroTextures) |
|
void | setSamplerBinding (GLuint textureUnit, Sampler *sampler) |
|
GLuint | getSamplerId (GLuint textureUnit) const |
|
Sampler * | getSampler (GLuint textureUnit) const |
|
void | detachSampler (GLuint sampler) |
|
void | setRenderbufferBinding (Renderbuffer *renderbuffer) |
|
GLuint | getRenderbufferId () const |
|
Renderbuffer * | getCurrentRenderbuffer () const |
|
void | detachRenderbuffer (GLuint renderbuffer) |
|
void | setReadFramebufferBinding (Framebuffer *framebuffer) |
|
void | setDrawFramebufferBinding (Framebuffer *framebuffer) |
|
Framebuffer * | getTargetFramebuffer (GLenum target) const |
|
Framebuffer * | getReadFramebuffer () const |
|
Framebuffer * | getDrawFramebuffer () const |
|
bool | removeReadFramebufferBinding (GLuint framebuffer) |
|
bool | removeDrawFramebufferBinding (GLuint framebuffer) |
|
void | setVertexArrayBinding (VertexArray *vertexArray) |
|
GLuint | getVertexArrayId () const |
|
VertexArray * | getVertexArray () const |
|
bool | removeVertexArrayBinding (GLuint vertexArray) |
|
void | setProgram (Program *newProgram) |
|
Program * | getProgram () const |
|
void | setTransformFeedbackBinding (TransformFeedback *transformFeedback) |
|
TransformFeedback * | getCurrentTransformFeedback () const |
|
bool | isTransformFeedbackActiveUnpaused () const |
|
bool | removeTransformFeedbackBinding (GLuint transformFeedback) |
|
bool | isQueryActive (const GLenum type) const |
|
bool | isQueryActive (Query *query) const |
|
void | setActiveQuery (GLenum target, Query *query) |
|
GLuint | getActiveQueryId (GLenum target) const |
|
Query * | getActiveQuery (GLenum target) const |
|
void | setArrayBufferBinding (Buffer *buffer) |
|
GLuint | getArrayBufferId () const |
|
void | setGenericUniformBufferBinding (Buffer *buffer) |
|
void | setIndexedUniformBufferBinding (GLuint index, Buffer *buffer, GLintptr offset, GLsizeiptr size) |
|
const OffsetBindingPointer< Buffer > & | getIndexedUniformBuffer (size_t index) const |
|
void | setCopyReadBufferBinding (Buffer *buffer) |
|
void | setCopyWriteBufferBinding (Buffer *buffer) |
|
void | setPixelPackBufferBinding (Buffer *buffer) |
|
void | setPixelUnpackBufferBinding (Buffer *buffer) |
|
Buffer * | getTargetBuffer (GLenum target) const |
|
void | detachBuffer (GLuint bufferName) |
|
void | setEnableVertexAttribArray (unsigned int attribNum, bool enabled) |
|
void | setVertexAttribf (GLuint index, const GLfloat values[4]) |
|
void | setVertexAttribu (GLuint index, const GLuint values[4]) |
|
void | setVertexAttribi (GLuint index, const GLint values[4]) |
|
void | setVertexAttribState (unsigned int attribNum, Buffer *boundBuffer, GLint size, GLenum type, bool normalized, bool pureInteger, GLsizei stride, const void *pointer) |
|
void | setVertexAttribDivisor (GLuint index, GLuint divisor) |
|
const VertexAttribCurrentValueData & | getVertexAttribCurrentValue (unsigned int attribNum) const |
|
const void * | getVertexAttribPointer (unsigned int attribNum) const |
|
void | setPackAlignment (GLint alignment) |
|
GLint | getPackAlignment () const |
|
void | setPackReverseRowOrder (bool reverseRowOrder) |
|
bool | getPackReverseRowOrder () const |
|
void | setPackRowLength (GLint rowLength) |
|
GLint | getPackRowLength () const |
|
void | setPackSkipRows (GLint skipRows) |
|
GLint | getPackSkipRows () const |
|
void | setPackSkipPixels (GLint skipPixels) |
|
GLint | getPackSkipPixels () const |
|
const PixelPackState & | getPackState () const |
|
PixelPackState & | getPackState () |
|
void | setUnpackAlignment (GLint alignment) |
|
GLint | getUnpackAlignment () const |
|
void | setUnpackRowLength (GLint rowLength) |
|
GLint | getUnpackRowLength () const |
|
void | setUnpackImageHeight (GLint imageHeight) |
|
GLint | getUnpackImageHeight () const |
|
void | setUnpackSkipImages (GLint skipImages) |
|
GLint | getUnpackSkipImages () const |
|
void | setUnpackSkipRows (GLint skipRows) |
|
GLint | getUnpackSkipRows () const |
|
void | setUnpackSkipPixels (GLint skipPixels) |
|
GLint | getUnpackSkipPixels () const |
|
const PixelUnpackState & | getUnpackState () const |
|
PixelUnpackState & | getUnpackState () |
|
const Debug & | getDebug () const |
|
Debug & | getDebug () |
|
void | setCoverageModulation (GLenum components) |
|
GLenum | getCoverageModulation () const |
|
void | loadPathRenderingMatrix (GLenum matrixMode, const GLfloat *matrix) |
|
const GLfloat * | getPathRenderingMatrix (GLenum which) const |
|
void | setPathStencilFunc (GLenum func, GLint ref, GLuint mask) |
|
GLenum | getPathStencilFunc () const |
|
GLint | getPathStencilRef () const |
|
GLuint | getPathStencilMask () const |
|
void | getBooleanv (GLenum pname, GLboolean *params) |
|
void | getFloatv (GLenum pname, GLfloat *params) |
|
void | getIntegerv (const ContextState &data, GLenum pname, GLint *params) |
|
void | getPointerv (GLenum pname, void **params) const |
|
void | getIntegeri_v (GLenum target, GLuint index, GLint *data) |
|
void | getInteger64i_v (GLenum target, GLuint index, GLint64 *data) |
|
void | getBooleani_v (GLenum target, GLuint index, GLboolean *data) |
|
bool | hasMappedBuffer (GLenum target) const |
|
const DirtyBits & | getDirtyBits () const |
|
void | clearDirtyBits () |
|
void | clearDirtyBits (const DirtyBits &bitset) |
|
void | setAllDirtyBits () |
|
void | clearDirtyObjects () |
|
void | setAllDirtyObjects () |
|
void | syncDirtyObjects () |
|
void | syncDirtyObjects (const DirtyObjects &bitset) |
|
void | syncDirtyObject (GLenum target) |
|
void | setObjectDirty (GLenum target) |
|