IRenderQueue
public interface IRenderQueue
Entity renderer uses this queue to manage render tasks.
Methods
Method | Description |
---|---|
add(RenderQueueGroupId groupId, IPipeline pipeline, Object renderableResource, int subEntity) | Add render task to the render queue. |
add(RenderQueueGroupId groupId, IPipeline pipeline, Object renderableResource, int subEntity)
public abstract void add(RenderQueueGroupId groupId, IPipeline pipeline, Object renderableResource, int subEntity)
Add render task to the render queue.
Parameters:
Parameter | Type | Description |
---|---|---|
groupId | RenderQueueGroupId | Which group of the queue the render task will be in |
pipeline | IPipeline | The pipeline instance used for this render task |
renderableResource | java.lang.Object | Custom object that will be sent to EntityRenderer |
subEntity | int | The index of sub entities, useful when the entity is consisting of more than one sub renderable components. |