Module dcanvas.graphics.gldrawbuf

Opengl based drawing buffer implementation.

To enable OpenGL support, build with version(USE_OPENGL);

Synopsis

import dcanvas.graphics.gldrawbuf;

Functions

NameDescription
destroyGLCaches()
hasActiveScene()
initGLCaches()
onGlyphDestroyedCallback(pobject) object deletion listener callback function type
onObjectDestroyedCallback(pobject) object deletion listener callback function type

Interfaces

NameDescription
GLConfigCallback

Classes

NameDescription
CustomSceneItem
GLDrawBuf drawing buffer - image container which allows to perform some drawing operations
GLTexture GL Texture object from image
GLTextureCache Cache for GLTexture
Scene Drawing scene (operations sheduled for drawing)
SceneItem base class for all drawing scene items.

Manifest constants

NameTypeDescription
MAX_TEX_SIZE
MIN_TEX_SIZE

Aliases

NameTypeDescription
TextureRef Ref!(dcanvas.graphics.gldrawbuf.GLTexture) Reference counted GLTexture object