EntityRenderer.RenderEntity

EntityRenderer.RenderEntity method

Each render task pushed to the IRenderQueue will have a corresponding RenderEntity call to perform the concrete rendering job.

public virtual void RenderEntity(Renderer renderer, ICommandList commandList, Node node, 
    object renderableResource, int subEntity)
ParameterTypeDescription
rendererRendererThe renderer
commandListICommandListThe commandList used to record the rendering commands
nodeNodeThe same node that passed to PrepareRenderQueue of the entity that will be rendered
renderableResourceObjectThe custom object that passed to IRenderQueue during the PrepareRenderQueue
subEntityInt32The index of the sub entity that passed to IRenderQueue

See Also