|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.grogra.imp3d.gl20.GL20Resource
de.grogra.imp3d.gl20.GL20ResourceLight
public class GL20ResourceLight
Field Summary |
---|
Constructor Summary | |
---|---|
protected |
GL20ResourceLight(int resourceClassType)
|
Method Summary | |
---|---|
void |
destory()
destroy the resource |
Vector3f |
getColor()
get the color of this GL20ResourceLight |
Matrix4d |
getWorldTransformationMatrix()
get the world transformation matrix of this GL20ResourceLight |
boolean |
isUpToDate()
check if this GL20ResourceLight is up to date. |
static void |
registerLight(GL20ResourceLight light)
|
void |
setColor(Vector3f color)
set the color of this GL20ResourceLight |
static void |
setupLights()
|
void |
setWorldTransformationMatrix(Matrix4d worldMatrix)
set world transformation matrix of this GL20ResourceLight |
static void |
unregisterLight(GL20ResourceLight light)
|
void |
update()
update the state of this GL20ResourceLight |
Methods inherited from class de.grogra.imp3d.gl20.GL20Resource |
---|
destroy, getResourceClass, getResourceClassType, getResourceType |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected GL20ResourceLight(int resourceClassType)
Method Detail |
---|
public void destory()
GL20Resource
public final Vector3f getColor()
GL20ResourceLight
public final Matrix4d getWorldTransformationMatrix()
GL20ResourceLight
public boolean isUpToDate()
GL20ResourceLight
is up to date.
isUpToDate
in class GL20Resource
true
- this GL20ResourceLight
is up to dateGL20Resource
public static final void registerLight(GL20ResourceLight light)
public final void setColor(Vector3f color)
GL20ResourceLight
color
- the colorpublic static void setupLights()
public final void setWorldTransformationMatrix(Matrix4d worldMatrix)
GL20ResourceLight
worldMatrix
- the world transformation matrixpublic static final void unregisterLight(GL20ResourceLight light)
public void update()
GL20ResourceLight
update
in class GL20Resource
GL20Resource
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |