OGLStateCache (object)¶
Members¶
UInt32 | generation | |
OGLViewportArgs | viewportArgs | |
UInt32 | viewportGeneration | |
GLUInt32ValueAndGeneration | colorMaskData | |
GLBooleanValueAndGeneration | depthMaskData | |
GLUInt32ValueAndGeneration | depthFuncData | |
GLBooleanValueAndGeneration | depthTestEnable | |
OGLStencilMaskArgs | stencilMaskArgs | |
UInt32 | stencilMaskGeneration | |
GLBooleanValueAndGeneration | stencilTestEnable | |
OGLStencilFuncArgs | stencilFuncArgs | |
UInt32 | stencilFuncGeneration | |
OGLStencilOpArgs | stencilOpArgs | |
UInt32 | stencilOpGeneration | |
GLUInt32ValueAndGeneration | cullFaceData | |
GLBooleanValueAndGeneration | cullFaceEnabled | |
OGLBlendFuncArgs | blendFuncArgs | |
UInt32 | blendFuncGeneration | |
Color | blendColorData | |
UInt32 | blendColorGeneration | |
OGLBlendEquationArgs | blendEquationArgs | |
UInt32 | blendEquationGeneration | |
GLBooleanValueAndGeneration | blendEnabled | |
OGLPolygonOffsetArgs | polygonOffsetArgs | |
UInt32 | polygonOffsetGeneration | |
GLBooleanValueAndGeneration | polygonOffsetFillEnabled | |
GLBooleanValueAndGeneration | polygonOffsetLineEnabled | |
GLBooleanValueAndGeneration | polygonOffsetPointEnabled | |
OGLBindFramebufferArgs | bindFramebufferArgs | |
UInt32 | bindFramebufferGeneration | |
GLUInt32ValueAndGeneration | readBufferData | |
GLUInt32ValueAndGeneration | drawBufferData | |
UInt32ArrayNoFree | drawBuffersData | |
UInt32[] | attachmentToDrawBuffer | |
UInt32 | drawBuffersGeneration | |
GLUInt32ValueAndGenerationArray | colorMaskiData | |
GLUInt32ValueAndGeneration | bindArrayBufferData | |
GLUInt32ValueAndGeneration | bindElementBufferData | |
GLUInt32ValueAndGeneration | bindRenderbufferData | |
GLUInt32ValueAndGeneration | activeTextureIndex | |
OGLBindTextureArray | bindTextureArrayData | |
GLUInt32ValueAndGeneration | bindVertexArrayData | |
UInt32 | defaultVertexArray | |
OGLVertexAttribPointerStateArray | vertexAttribPointerStates | |
GLScalarValueAndGeneration | pointSizeData | |
GLScalarValueAndGeneration | lineWidthData | |
GLUInt32ValueAndGeneration | useProgramData |
Methods¶
OGLStateCache ( in OGLStateCache other ) | |
OGLStateCache () | |
activeTexture ! ( in UInt32 index ) | |
bindBuffer ! ( in UInt32 target, in UInt32 buffer ) | |
bindFramebuffer ! ( in UInt32 target, in UInt32 framebuffer ) | |
bindRenderbuffer ! ( in UInt32 index ) | |
bindTexture ! ( in UInt32 target, in UInt32 texture ) | |
bindTexture ! ( in UInt32 textureIndex, in UInt32 target, in UInt32 texture ) | |
bindVertexArray ! ( in UInt32 index ) | |
blendColor ! ( in Color color ) | |
blendEquation ! ( in UInt32 mode ) | |
blendEquationSeparate ! ( in UInt32 modeRGB, in UInt32 modeAlpha ) | |
blendFunc ! ( in UInt32 src, in UInt32 dst ) | |
blendFuncSeparate ! ( in UInt32 srcRGB, in UInt32 dstRGB, in UInt32 srcAlpha, in UInt32 dstAlpha ) | |
cleanup ! () | |
OGLStateCache | clone ? () |
colorMask ! ( in Boolean r, in Boolean g, in Boolean b, in Boolean a ) | |
colorMaski ! ( in UInt32 index, in Boolean r, in Boolean g, in Boolean b, in Boolean a ) | |
cullFace ! ( in UInt32 mode ) | |
depthFunc ! ( in UInt32 glDepthFunction ) | |
depthMask ! ( in Boolean mask ) | |
disableAllVertexAttribArrays ! () | |
disableVertexAttribArray ! ( in UInt32 index ) | |
drawBuffer ! ( in UInt32 mode ) | |
drawBuffers ! ( in LocalL16UInt32Array buffers ) | |
enableBlend ! ( in Boolean enable ) | |
enableCullFace ! ( in Boolean enable ) | |
enableDepthTest ! ( in Boolean enable ) | |
enablePolygonOffsetFill ! ( in Boolean enable ) | |
enablePolygonOffsetLine ! ( in Boolean enable ) | |
enablePolygonOffsetPoint ! ( in Boolean enable ) | |
enableStencilTest ! ( in Boolean enable ) | |
enableVertexAttribArray ! ( in UInt32 index ) | |
UInt32 | getActiveTextureIndex ? () |
UInt32 | getBoundBuffer ! () |
Size | getDrawBufferIndexForColorAttachmentIndex ? ( in UInt32 attachmentIndex ) |
Boolean | hasBoundVertexArray ? () |
lineWidth ! ( in Scalar width ) | |
pointSize ! ( in Scalar size ) | |
polygonOffset ! ( in Scalar factor, in Scalar units ) | |
readBuffer ! ( in UInt32 mode ) | |
reset ! () | |
setVertexAttribArrayCount ! ( in Size count ) | |
stencilFunc ! ( in UInt32 func, in UInt32 ref, in UInt32 mask ) | |
stencilFuncSeparate ! ( in UInt32 face, in UInt32 func, in UInt32 ref, in UInt32 mask ) | |
stencilMask ! ( in UInt32 mask ) | |
stencilMaskSeparate ! ( in UInt32 face, in UInt32 mask ) | |
stencilOp ! ( in UInt32 sfail, in UInt32 dpfail, in UInt32 dppass ) | |
stencilOpSeparate ! ( in UInt32 face, in UInt32 sfail, in UInt32 dpfail, in UInt32 dppass ) | |
useProgram ! ( in UInt32 program ) | |
vertexAttribPointer ! ( in UInt32 index, in UInt32 size, in UInt32 type, in Boolean normalized, in UInt32 stride ) | |
vertexAttribPointer ! ( in UInt32 index, in UInt32 size, in UInt32 type, in Boolean normalized, in UInt32 stride, in UInt32 bufferID ) | |
viewport ! ( in Size x, in Size y, in Size width, in Size height ) |
Methods in detail¶
OGLStateCache ( in OGLStateCache other )
copy constructor
OGLStateCache.activeTexture! ( in UInt32 index )
OGLStateCache.bindBuffer! ( in UInt32 target, in UInt32 buffer )
OGLStateCache.bindFramebuffer! ( in UInt32 target, in UInt32 framebuffer )
OGLStateCache.bindRenderbuffer! ( in UInt32 index )
OGLStateCache.bindTexture! ( in UInt32 target, in UInt32 texture )
OGLStateCache.bindTexture! ( in UInt32 textureIndex, in UInt32 target, in UInt32 texture )
OGLStateCache.bindVertexArray! ( in UInt32 index )
OGLStateCache.blendColor! ( in Color color )
OGLStateCache.blendEquation! ( in UInt32 mode )
OGLStateCache.blendEquationSeparate! ( in UInt32 modeRGB, in UInt32 modeAlpha )
OGLStateCache.blendFunc! ( in UInt32 src, in UInt32 dst )
OGLStateCache.blendFuncSeparate! ( in UInt32 srcRGB, in UInt32 dstRGB, in UInt32 srcAlpha, in UInt32 dstAlpha )
OGLStateCache.cleanup! ()
OGLStateCache OGLStateCache.clone? ()
clone method
OGLStateCache.colorMask! ( in Boolean r, in Boolean g, in Boolean b, in Boolean a )
OGLStateCache.colorMaski! ( in UInt32 index, in Boolean r, in Boolean g, in Boolean b, in Boolean a )
OGLStateCache.cullFace! ( in UInt32 mode )
OGLStateCache.depthFunc! ( in UInt32 glDepthFunction )
OGLStateCache.depthMask! ( in Boolean mask )
OGLStateCache.disableAllVertexAttribArrays! ()
OGLStateCache.disableVertexAttribArray! ( in UInt32 index )
OGLStateCache.drawBuffer! ( in UInt32 mode )
OGLStateCache.drawBuffers! ( in LocalL16UInt32Array buffers )
OGLStateCache.enableBlend! ( in Boolean enable )
OGLStateCache.enableCullFace! ( in Boolean enable )
OGLStateCache.enableDepthTest! ( in Boolean enable )
OGLStateCache.enablePolygonOffsetFill! ( in Boolean enable )
OGLStateCache.enablePolygonOffsetLine! ( in Boolean enable )
OGLStateCache.enablePolygonOffsetPoint! ( in Boolean enable )
OGLStateCache.enableStencilTest! ( in Boolean enable )
OGLStateCache.enableVertexAttribArray! ( in UInt32 index )
UInt32 OGLStateCache.getActiveTextureIndex? ()
UInt32 OGLStateCache.getBoundBuffer! ()
Size OGLStateCache.getDrawBufferIndexForColorAttachmentIndex? ( in UInt32 attachmentIndex )
Returns the draw attachment index for a color attachment, or UInt32Max if not found. Attachment index: 0 for GL_COLOR_ATTACHMENT0, etc. Returned value: 0 for GL_DRAW_BUFFER0, etc.
Boolean OGLStateCache.hasBoundVertexArray? ()
OGLStateCache.lineWidth! ( in Scalar width )
OGLStateCache.pointSize! ( in Scalar size )
OGLStateCache.polygonOffset! ( in Scalar factor, in Scalar units )
OGLStateCache.readBuffer! ( in UInt32 mode )
OGLStateCache.reset! ()
OGLStateCache.setVertexAttribArrayCount! ( in Size count )
OGLStateCache.stencilFunc! ( in UInt32 func, in UInt32 ref, in UInt32 mask )
OGLStateCache.stencilFuncSeparate! ( in UInt32 face, in UInt32 func, in UInt32 ref, in UInt32 mask )
OGLStateCache.stencilMask! ( in UInt32 mask )
OGLStateCache.stencilMaskSeparate! ( in UInt32 face, in UInt32 mask )
OGLStateCache.stencilOp! ( in UInt32 sfail, in UInt32 dpfail, in UInt32 dppass )
OGLStateCache.stencilOpSeparate! ( in UInt32 face, in UInt32 sfail, in UInt32 dpfail, in UInt32 dppass )
OGLStateCache.useProgram! ( in UInt32 program )
OGLStateCache.vertexAttribPointer! ( in UInt32 index, in UInt32 size, in UInt32 type, in Boolean normalized, in UInt32 stride )
OGLStateCache.vertexAttribPointer! ( in UInt32 index, in UInt32 size, in UInt32 type, in Boolean normalized, in UInt32 stride, in UInt32 bufferID )
OGLStateCache.viewport! ( in Size x, in Size y, in Size width, in Size height )