Class Opengl-Loadable

Base class for any object that has data to be loadable into an OpenGL context.
See the opengl-load and opengl-unload generic functions.

Part of:

package cityscape, class cs3d-texture, class cs3d-draw, class opengl-singleton-loadable

Direct Subclass

cs3d-drawLeaf of the cs3d model hierachy. Contains the actual mesh data.
cs3d-textureDrawable that binds a texture for the duration of the draw method.
opengl-singleton-loadableLoadable specialization that only has one of its exact type in existance at a time.
When another ...

Direct Method

opengl-context-addAdd an opengl-loadable object to the running context, or queue for when one is started.
opengl-loadCode to be run when an opengl-loadable object is added to a running context or when the context c...
opengl-unloadCode to be run as an OpenGL context is closed, or an object is removed from the context.