add method
add(self, group_id, pipeline, renderable_resource, sub_entity)
Add render task to the render queue.
def add(self, group_id, pipeline, renderable_resource, sub_entity):
...
| Parameter | Type | Description |
|---|---|---|
| group_id | aspose.threed.render.RenderQueueGroupId | Which group of the queue the render task will be in |
| pipeline | aspose.threed.render.IPipeline | The pipeline instance used for this render task |
| renderable_resource | System.Object | Custom object that will be sent to EntityRenderer.render_entity |
| sub_entity | int | The index of sub entities, useful when the entity is consisting of more than one sub renderable components. |
See Also
- module
aspose.threed.render - class
IRenderQueue