Package com.jme3.post
Class PreNormalCaching
java.lang.Object
com.jme3.post.PreNormalCaching
Pre normal caching class.
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidgetPreNormals(RenderManager renderManager, Filter.Pass normalPass, ViewPort viewPort) Get pre-normals from the given rendering.static voidresetCache(boolean stereo) Reset the cache
-
Method Details
-
getPreNormals
public static void getPreNormals(RenderManager renderManager, Filter.Pass normalPass, ViewPort viewPort) Get pre-normals from the given rendering.- Parameters:
renderManager- the render manager.normalPass- the normal pass.viewPort- the viewport.
-
resetCache
public static void resetCache(boolean stereo) Reset the cache- Parameters:
stereo-trueif the rendering is stereo based andfalseotherwise.
-