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):
...
Parameter | Type | Description |
---|---|---|
renderer | Renderer | The renderer |
command_list | ICommandList | The commandList used to record the rendering commands |
node | Node | The same node that passed to PrepareRenderQueue of the entity that will be rendered |
renderable_resource | any | The custom object that passed to IRenderQueue during the PrepareRenderQueue |
sub_entity | int | The index of the sub entity that passed to IRenderQueue |
See Also
- module
aspose.threed.render
- class
EntityRenderer
- class
IRenderQueue