OGLViewport (object)¶
Members¶
Versions | version | |
String | name | |
UInt32 | bufferID | |
UInt32 | unactiveBufferID | |
Boolean | externallyOwned | |
OGLWrapperGlobals | wrapperGlobals | |
StatisticsAutoRegisterMember | autoStats | |
Size | startX | |
Size | width | |
UInt32[4] | colorBits | |
UInt32 | stencilBits | |
UInt32 | depthBits | |
UInt32 | samples | |
UInt32 | framebuffer |
Methods¶
OGLViewport ( in OGLViewport other ) | |
OGLViewport () | |
activate ! ( in UInt32 target, io Ref<OGLContext> context ) | |
clearColor ! ( in Color color, in Boolean noMask, io Ref<OGLContext> context ) | |
clearDepth ! ( in Scalar depth, in Boolean noMask, io Ref<OGLContext> context ) | |
clearDepthStencil ! ( in Scalar depth, in UInt32 stencil, in Boolean noMask, io Ref<OGLContext> context ) | |
OGLViewport | clone ? () |
getFormat ? ( io UInt32 glComponentType, io UInt32 redBits, io UInt32 greenBits, io UInt32 blueBits, io UInt32 alphaBits, io UInt32 depthBits, io UInt32 stencilBits ) | |
setSize ! ( in Size startX, in Size startY, in Size width, in Size height, in Size samples ) | |
setSize ! ( in Size width, in Size height, in Size samples ) | |
updateFromContext ! ( io Ref<OGLContext> context ) |
Methods in detail¶
OGLViewport ( in OGLViewport other )
copy constructor
OGLViewport ()
OGLViewport.activate! ( in UInt32 target, io Ref<OGLContext> context )
OGLViewport.clearColor! ( in Color color, in Boolean noMask, io Ref<OGLContext> context )
OGLViewport.clearDepth! ( in Scalar depth, in Boolean noMask, io Ref<OGLContext> context )
OGLViewport.clearDepthStencil! ( in Scalar depth, in UInt32 stencil, in Boolean noMask, io Ref<OGLContext> context )
OGLViewport OGLViewport.clone? ()
clone method
OGLViewport.getFormat? ( io UInt32 glComponentType, io UInt32 redBits, io UInt32 greenBits, io UInt32 blueBits, io UInt32 alphaBits, io UInt32 depthBits, io UInt32 stencilBits )
OGLViewport.setSize! ( in Size startX, in Size startY, in Size width, in Size height, in Size samples )
OGLViewport.setSize! ( in Size width, in Size height, in Size samples )
OGLViewport.updateFromContext! ( io Ref<OGLContext> context )
Retunrs true if something changed