com.jme.renderer.pass
Interface ShadowGate

All Known Implementing Classes:
DefaultShadowGate, ProximityShadowGate

public interface ShadowGate


Method Summary
 boolean shouldDrawShadows(TriMesh mesh)
          Give a hint to the shadow render pass as to whether a given triangle mesh is a candidate for shadow drawing.
 boolean shouldUpdateShadows(TriMesh mesh)
          Give a hint to the shadow render pass as to whether a given triangle mesh is a candidate for shadow updates.
 

Method Detail

shouldUpdateShadows

boolean shouldUpdateShadows(TriMesh mesh)
Give a hint to the shadow render pass as to whether a given triangle mesh is a candidate for shadow updates. This hint will be combined with other hints such as locking.

Parameters:
mesh - the mesh to check
Returns:
true if we think this mesh's shadows are ok to test for an update.

shouldDrawShadows

boolean shouldDrawShadows(TriMesh mesh)
Give a hint to the shadow render pass as to whether a given triangle mesh is a candidate for shadow drawing. This hint will be combined with other hints such as locking.

Parameters:
mesh - the mesh to check
Returns:
true if we think this mesh's shadows are ok to draw