public class RenderBatchingSystem extends com.artemis.EntitySystem implements EntityProcessPrincipal
Anim| Modifier and Type | Class and Description |
|---|---|
class |
RenderBatchingSystem.Job
Rendering job wrapper.
|
| Modifier and Type | Field and Description |
|---|---|
protected com.artemis.ComponentMapper<Renderable> |
mRenderable |
boolean |
sortedDirty |
protected com.artemis.utils.Bag<RenderBatchingSystem.Job> |
sortedJobs |
| Constructor and Description |
|---|
RenderBatchingSystem() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
checkProcessing() |
protected void |
processEntities(com.artemis.utils.ImmutableBag<com.artemis.Entity> entities)
Process list of entities to delegate.
|
void |
registerAgent(com.artemis.Entity e,
EntityProcessAgent agent)
Declare entity relevant for agent.
|
void |
unregisterAgent(com.artemis.Entity e,
EntityProcessAgent agent)
Revoke relevancy of entity for agent.
|
protected com.artemis.ComponentMapper<Renderable> mRenderable
protected final com.artemis.utils.Bag<RenderBatchingSystem.Job> sortedJobs
public boolean sortedDirty
public void registerAgent(com.artemis.Entity e,
EntityProcessAgent agent)
registerAgent in interface EntityProcessPrincipale - entity to processagent - interface to dispatch with.public void unregisterAgent(com.artemis.Entity e,
EntityProcessAgent agent)
unregisterAgent in interface EntityProcessPrincipale - entity to processagent - interface to dispatch with.protected void processEntities(com.artemis.utils.ImmutableBag<com.artemis.Entity> entities)
processEntities in class com.artemis.EntitySystemprotected boolean checkProcessing()
checkProcessing in class com.artemis.EntitySystemCopyright © 2014. All Rights Reserved.