java.lang.Object
de.grogra.glsl.light.shadow.ShadowMapCollection
This class is both a collection of shadow-map-prototypes and a cache for instances of
shadow-maps referenced by Light Objects. Mapping between Lights and ShadowMaps is
static but is subject to change.
- Author:
- Konni Hartmann
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addNewShadowMapType
(Class key, GLSLShadowMap map) void
cleanUp
(OpenGLState glState, boolean javaonly) getDefaultCachedMap
(Light light) int
void
initMap()
void
removeUnused
(OpenGLState glState)
-
Constructor Details
-
ShadowMapCollection
public ShadowMapCollection()
-
-
Method Details
-
initMap
public void initMap() -
getShadowMapMemoryConsumption
public int getShadowMapMemoryConsumption() -
addNewShadowMapType
-
cleanUp
-
removeUnused
-
getDefaultCachedMap
-