create_pipeline method

create_pipeline

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
shaderShaderProgramThe shader used in the rendering
render_stateRenderStateThe render state used in the rendering
vertex_declarationaspose.threed.utilities.VertexDeclarationThe vertex declaration of input vertex data
draw_operationDrawOperationDraw operation

See Also