OGLObject (interface)

OGLObject OGLObject OGLObject OGLBaseObject OGLBaseObject OGLBaseObject->OGLObject OGLBuffer_ OGLBuffer_ OGLBuffer_->OGLBaseObject OGLFramebuffer OGLFramebuffer OGLFramebuffer->OGLBaseObject OGLProgram OGLProgram OGLProgram->OGLBaseObject OGLRenderbuffer OGLRenderbuffer OGLRenderbuffer->OGLBaseObject OGLShader_ OGLShader_ OGLShader_->OGLBaseObject OGLTexture OGLTexture OGLTexture->OGLBaseObject OGLVertexArray OGLVertexArray OGLVertexArray->OGLBaseObject OGLViewport OGLViewport OGLViewport->OGLBaseObject

Functions

Boolean create ! ( io Ref<OGLContext> context )
Boolean created ? ()
UInt64 getApproximateGPUMemoryUsage ? ()
UInt32 getGLID ? ()
String getName ? ()
  releaseGL ! ()

Functions in detail

Boolean OGLObject.create! ( io Ref<OGLContext> context )

Returns true if it succeeded. Some Objects can only be created with specialized methods, in which case this will return false.


Boolean OGLObject.created? ()


UInt64 OGLObject.getApproximateGPUMemoryUsage? ()


UInt32 OGLObject.getGLID? ()


String OGLObject.getName? ()


OGLObject.releaseGL! ()