|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.grogra.imp3d.gl20.GL20Resource de.grogra.imp3d.gl20.GL20ResourceShape
public abstract class GL20ResourceShape
Field Summary |
---|
Constructor Summary | |
---|---|
protected |
GL20ResourceShape(int resourceClassType)
|
Method Summary | |
---|---|
void |
applyGeometry()
tell this GL20ResourceShape that it should apply the
geometry to the GL20GfxServer |
void |
destroy()
destroy the resource |
de.grogra.imp3d.gl20.GL20ResourceShader |
getShader()
get the shader of this GL20ResourceShape |
Matrix4d |
getShapeTransformationMatrix()
get the shape transformation matrix of this GL20ResourceShape |
Matrix4d |
getWorldTransformationMatrix()
get the transformation matrix of this GL20ResourceShape |
boolean |
isUpToDate()
check if this GL20ResourceShape is up to date. |
void |
setShader(de.grogra.imp3d.gl20.GL20ResourceShader shader)
set the shader of this GL20ResourceShape |
void |
setShapeTransformationMatrix(Matrix4d matrix)
set the shape transformation matrix of this GL20ResourceShape |
void |
setWorldTransformationMatrix(Matrix4d matrix)
set the transformation matrix of this GL20ResourceShape |
void |
update()
update the state of this GL20ResourceShape |
Methods inherited from class de.grogra.imp3d.gl20.GL20Resource |
---|
getResourceClass, getResourceClassType, getResourceType |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected GL20ResourceShape(int resourceClassType)
Method Detail |
---|
public void applyGeometry()
GL20ResourceShape
that it should apply the
geometry to the GL20GfxServer
public void destroy()
destroy
in class GL20Resource
GL20Resource
public final de.grogra.imp3d.gl20.GL20ResourceShader getShader()
GL20ResourceShape
GL20ResourceShape
public final Matrix4d getShapeTransformationMatrix()
GL20ResourceShape
public final Matrix4d getWorldTransformationMatrix()
GL20ResourceShape
public boolean isUpToDate()
GL20ResourceShape
is up to date.
isUpToDate
in class GL20Resource
true
- this GL20ResourceShape
is up to dateGL20Resource
public final void setShader(de.grogra.imp3d.gl20.GL20ResourceShader shader)
GL20ResourceShape
shader
- the shaderpublic final void setShapeTransformationMatrix(Matrix4d matrix)
GL20ResourceShape
matrix
- the shape transformation matrixpublic final void setWorldTransformationMatrix(Matrix4d matrix)
GL20ResourceShape
matrix
- the transformation matrixpublic void update()
GL20ResourceShape
update
in class GL20Resource
GL20Resource
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |