org.jrabbit.base.graphics.layers
Interface Layer

All Superinterfaces:
Accepter<Renderable>, Container<Renderable>, GLGroupTransformed, GLTransform, java.lang.Iterable<Renderable>, Referenced, Remover<Renderable>, Renderable
All Known Implementing Classes:
BlendedLayer, DefaultLayer

public interface Layer
extends Referenced, Renderable, Container<Renderable>, GLGroupTransformed

A Layer is meant to provide functionality for organizing and rendering groups of Renderable objects. Multiple Layers are intended to be used together, to allow control over rendering order. A Layer is also a GLGroupTransformed; it can alter render settings for the entirety of its contents. An example of this is giving a Layer a particular blending mode (e.g., Additive blending); if this is done, all objects rendered by that Layer will have that blending. Layers should render all the Renderables they contain.

Author:
Chris Molini

Method Summary
 
Methods inherited from interface org.jrabbit.base.data.Referenced
reference
 
Methods inherited from interface org.jrabbit.base.core.types.Renderable
render
 
Methods inherited from interface org.jrabbit.base.data.structures.base.Container
clear, contains, size
 
Methods inherited from interface org.jrabbit.base.data.structures.base.Accepter
add, add
 
Methods inherited from interface org.jrabbit.base.data.structures.base.Remover
remove, remove
 
Methods inherited from interface java.lang.Iterable
iterator
 
Methods inherited from interface org.jrabbit.base.graphics.types.GLGroupTransformed
transforms
 
Methods inherited from interface org.jrabbit.base.graphics.transforms.GLTransform
bind, release