IRenderQueue

public interface IRenderQueue

Entity renderer uses this queue to manage render tasks.

Methods

MethodDescription
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:

ParameterTypeDescription
groupIdRenderQueueGroupIdWhich group of the queue the render task will be in
pipelineIPipelineThe pipeline instance used for this render task
renderableResourcejava.lang.ObjectCustom object that will be sent to EntityRenderer
subEntityintThe index of sub entities, useful when the entity is consisting of more than one sub renderable components.