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):
    ...
ParameterTypeDescription
shaderaspose.threed.render.ShaderProgramThe shader used in the rendering
render_stateaspose.threed.render.RenderStateThe render state used in the rendering
vertex_declarationaspose.threed.utilities.VertexDeclarationThe vertex declaration of input vertex data
draw_operationaspose.threed.render.DrawOperationDraw operation

See Also