Interface DecomposeWhenDrawn<T extends Pure>
- Type Parameters:
T- The specific Pure class this can be decomposed to.
public interface DecomposeWhenDrawn<T extends Pure>
Marker Interface which denotes that an instance of this class, (Usually a
GObject) can
ve "decomposed" or otherwise broken down to simpler pure (Pure) geometry which is further
wrapped in a RenderState which then finally can be drawn by the SceneRenderer.- Author:
- Lehlogonolo Poole
-
Method Summary
Modifier and TypeMethodDescriptionvoidThe actual decomposition.Fetches the actual decomposition list.default voidInvalidates every single render state withingetDecomposeList()
-
Method Details
-
decompose
void decompose()The actual decomposition. -
getDecomposeList
ArrayList<RenderState<T,GObject>> getDecomposeList()Fetches the actual decomposition list.- Returns:
- The arraylist of decomposed stuff
-
invalidateAll
default void invalidateAll()Invalidates every single render state withingetDecomposeList()
-