public interface IRenderQueue
Modifier and Type | Method and Description |
---|---|
void |
add(RenderQueueGroupId groupId,
IPipeline pipeline,
java.lang.Object renderableResource,
int subEntity)
Add render task to the render queue.
|
void add(RenderQueueGroupId groupId, IPipeline pipeline, java.lang.Object renderableResource, int subEntity)
groupId
- Which group of the queue the render task will be inpipeline
- The pipeline instance used for this render taskrenderableResource
- Custom object that will be sent to EntityRenderer
subEntity
- The index of sub entities, useful when the entity is consisting of more than one sub renderable components.