OGLWrappers.kl¶
Interfaces¶
DoubleBuffer (interface)¶
Functions¶
copyBuffer ! ( in Size from, in Size to ) |
Functions in detail¶
DoubleBuffer.copyBuffer! ( in Size from, in Size to )
[from,to] can be [0,1] or [1,0]
Types¶
DoubleBufferState (struct)¶
Members¶
UInt32 | iteration | |
Ref<DoubleBuffer> | doubleBuffer | |
UInt32 | index | |
Boolean | readOnly | |
UInt32 | readIndex |
Methods¶
DoubleBufferState ( in DoubleBufferState other ) | |
DoubleBufferState () | |
beginIteration ! ( in UInt32 iteration, in Boolean needDoubleBuffering ) | |
DoubleBufferState | clone ? () |
init ! ( in Ref<DoubleBuffer> doubleBuffer ) | |
Boolean | isReadOnly ? () |
makeWritable ! () |
OGLWrapperGlobals (object)¶
Members¶
Boolean | tracingEnabled | |
Boolean | tracingProgramParameterValues | |
OGLPerThreadContexts | perThreadContexts | |
OGLCapabilities | capabilities | |
LockedInitialize | capabilitiesLockedInit | |
IndexPool | contextIDs | |
Ref<OGLContext>[] | contexts | |
UInt32 | nextGlobalFramebufferID | |
UInt32 | nextGlobalVertexArrayID |
Methods¶
OGLWrapperGlobals ( in OGLWrapperGlobals other ) | |
OGLWrapperGlobals () | |
OGLWrapperGlobals | clone ? () |
Ref<OGLCapabilities> | getGLCapabilities ? () |
Functions¶
SetOGLWrappersTracing¶
SetOGLWrappersTracing ( in Boolean enableTrace, in Boolean tracingProgramParameterValues )
_getTextureApproximateGPUMemoryUsage¶
UInt64 _getTextureApproximateGPUMemoryUsage ( in UInt64 size, in Integer glInternalFormat )
_getTextureTypeBits¶
_getTextureTypeBits ( in UInt32 glInternalFormat, io UInt32 componentType, io UInt32 redBits, io UInt32 greenBits, io UInt32 blueBits, io UInt32 alphaBits, io UInt32 depthBits, io UInt32 stencilBits )