create_pipeline method
create_pipeline(self, shader, render_state, vertex_declaration, draw_operation)
Create a preconfigured graphics pipeline with preconfigured shader/render state/vertex declaration and draw operations.
Returns
A new pipeline instance
def create_pipeline(self, shader, render_state, vertex_declaration, draw_operation):
...
| Parameter | Type | Description |
|---|---|---|
| shader | aspose.threed.render.ShaderProgram | The shader used in the rendering |
| render_state | aspose.threed.render.RenderState | The render state used in the rendering |
| vertex_declaration | aspose.threed.utilities.VertexDeclaration | The vertex declaration of input vertex data |
| draw_operation | aspose.threed.render.DrawOperation | Draw operation |
See Also
- module
aspose.threed.render - class
IPipeline - class
RenderFactory