render_entity method

render_entity

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

def render_entity(self, renderer, command_list, node, renderable_resource, sub_entity):
    ...
ParameterTypeDescription
rendererRendererThe renderer
command_listICommandListThe commandList used to record the rendering commands
nodeNodeThe same node that passed to PrepareRenderQueue of the entity that will be rendered
renderable_resourceanyThe custom object that passed to IRenderQueue during the PrepareRenderQueue
sub_entityintThe index of the sub entity that passed to IRenderQueue

See Also