|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.badlogic.gdx.graphics.g3d.decals.PluggableGroupStrategy
public abstract class PluggableGroupStrategy
This class in combination with the GroupPlugs
allows you to build a modular GroupStrategy
out of
routines you already implemented.
Constructor Summary | |
---|---|
PluggableGroupStrategy()
|
Method Summary | |
---|---|
void |
afterGroup(int group)
Invoked directly after rendering of a group has completed |
void |
beforeGroup(int group,
Array<Decal> contents)
Invoked directly before rendering the contents of a group |
void |
plugIn(GroupPlug plug,
int group)
Set the plug used for a specific group. |
GroupPlug |
unPlug(int group)
Remove a plug from the strategy |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.badlogic.gdx.graphics.g3d.decals.GroupStrategy |
---|
afterGroups, beforeGroups, decideGroup, getGroupShader |
Constructor Detail |
---|
public PluggableGroupStrategy()
Method Detail |
---|
public void beforeGroup(int group, Array<Decal> contents)
GroupStrategy
beforeGroup
in interface GroupStrategy
group
- Group that will be renderedcontents
- Array of entries of arrays containing all the decals in the grouppublic void afterGroup(int group)
GroupStrategy
afterGroup
in interface GroupStrategy
group
- Group which completed renderingpublic void plugIn(GroupPlug plug, int group)
plug
- Plug to usegroup
- Group the plug is forpublic GroupPlug unPlug(int group)
group
- Group to remove the plug from
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |