|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--md3.md3model.MD3ModelVisitor | +--md3.md3view.MD3GLModelVisitor | +--md3.md3view.MD3GLModelUploadTextureVisitor
An MD3GLModel visitor that walks through a MD3GLModel structure and uploads all texture data of the visited models into a specified OpenGL context.
Constructor Summary | |
MD3GLModelUploadTextureVisitor(MD3GLCanvas md3canvas)
Create a new texture upload visitor that will upload data into the OpenGL context of the specified MD3GLCanvas. |
Method Summary | |
static void |
uploadTextureData(gl4java.GLFunc gl,
MD3GLTexture texture)
Upload the data of the given texture into the given GL context. |
void |
visit(MD3GLModel model)
Upload texture information associated with a model into the OpenGL Context. |
Methods inherited from class md3.md3view.MD3GLModelVisitor |
visit |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public MD3GLModelUploadTextureVisitor(MD3GLCanvas md3canvas)
Create a new texture upload visitor that will upload data into the OpenGL context of the specified MD3GLCanvas.
md3canvas
- Texture data will be uploaded to this object's OpenGL context.Method Detail |
public void visit(MD3GLModel model)
Upload texture information associated with a model into the OpenGL Context.
model
- The model of which the textures will be uploaded.public static void uploadTextureData(gl4java.GLFunc gl, MD3GLTexture texture)
Upload the data of the given texture into the given GL context.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |