de.grogra.imp3d.gl20
public class GL20ResourceLightDirectional extends GL20ResourceLight
GL20RESOURCE_CLASS_LIGHT, GL20RESOURCE_CLASS_MASK, GL20RESOURCE_CLASS_MESH, GL20RESOURCE_CLASS_SHADER, GL20RESOURCE_CLASS_SHADERFRAGMENT, GL20RESOURCE_CLASS_SHAPE, GL20RESOURCE_CLASS_TEXTURE, GL20RESOURCE_LIGHT_DIRECTIONAL, GL20RESOURCE_LIGHT_POINT, GL20RESOURCE_LIGHT_SPOT, GL20RESOURCE_MESH_MULTI_USER, GL20RESOURCE_MESH_SINGLE_USER, GL20RESOURCE_SHADER_PHONG, GL20RESOURCE_SHADER_RGBA, GL20RESOURCE_SHADERFRAGMENT_BLEND, GL20RESOURCE_SHADERFRAGMENT_GRAYTONE, GL20RESOURCE_SHADERFRAGMENT_RGB, GL20RESOURCE_SHAPE_BOX, GL20RESOURCE_SHAPE_FRUSTUM, GL20RESOURCE_SHAPE_LINE, GL20RESOURCE_SHAPE_LINE_STRIP, GL20RESOURCE_SHAPE_PARALLELOGRAM, GL20RESOURCE_SHAPE_PLANE, GL20RESOURCE_SHAPE_POLYGONS, GL20RESOURCE_SHAPE_SPHERE, GL20RESOURCE_TEXTURE, GL20RESOURCE_TEXTURE_CUBEMAP, GL20RESOURCE_TYPE_MASK| Constructor and Description |
|---|
GL20ResourceLightDirectional() |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy()
destroy the
GL20ResourceLightDirectional |
boolean |
isUpToDate()
check if this
GL20ResourceLightDirectional is up to date. |
void |
update()
update the state of this
GL20ResourceLightDirectional |
destory, getColor, getWorldTransformationMatrix, registerLight, setColor, setupLights, setWorldTransformationMatrix, unregisterLightgetResourceClass, getResourceClassType, getResourceTypepublic void destroy()
GL20ResourceLightDirectionaldestroy in class GL20ResourceGL20Resourcepublic boolean isUpToDate()
GL20ResourceLightDirectional is up to date.isUpToDate in class GL20ResourceLighttrue - this GL20ResourceLightDirectional is up to dateGL20Resourcepublic void update()
GL20ResourceLightDirectionalupdate in class GL20ResourceLightGL20Resource