RenderFactory.CreatePipeline

RenderFactory.CreatePipeline method

Create a preconfigured graphics pipeline with preconfigured shader/render state/vertex declaration and draw operations.

public abstract IPipeline CreatePipeline(ShaderProgram shader, RenderState renderState, 
    VertexDeclaration vertexDeclaration, DrawOperation drawOperation)
ParameterTypeDescription
shaderShaderProgramThe shader used in the rendering
renderStateRenderStateThe render state used in the rendering
vertexDeclarationVertexDeclarationThe vertex declaration of input vertex data
drawOperationDrawOperationDraw operation

Return Value

A new pipeline instance

See Also