Class Cs3d-Texture
Drawable that binds a texture for the duration of the draw method.
Direct Superclass
cs3d-parent | Base class for a cs3d model that contains children |
---|
opengl-loadable | Base class for any object that has data to be loadable into an OpenGL context. See the opengl-loa... |
---|
Slot
children | Initargs::children; Reader:children-of; Type:list. |
---|
name | Initargs::name; Accessors:name; Type:symbol. |
---|
texture-id | Accessors:texture-id-of; Type:integer. |
---|
texture-relative-path | Initform:*model-file-pathname*; Reader:texture-relative-path-of; Type:pathname. |
---|
Direct Method
draw | |
---|
opengl-load | Code to be run when an opengl-loadable object is added to a running context or when the context c... |
---|
opengl-unload | Code to be run as an OpenGL context is closed, or an object is removed from the context. |
---|
Other Method
opengl-context-add | Add an opengl-loadable object to the running context, or queue for when one is started. |
---|