## RenderFactory.CreatePipeline method

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

```csharp
public abstract IPipeline CreatePipeline(ShaderProgram shader, RenderState renderState, 
    VertexDeclaration vertexDeclaration, DrawOperation drawOperation)
```

| Parameter | Type | Description |
| --- | --- | --- |
| shader | ShaderProgram | The shader used in the rendering |
| renderState | RenderState | The render state used in the rendering |
| vertexDeclaration | VertexDeclaration | The vertex declaration of input vertex data |
| drawOperation | DrawOperation | Draw operation |

### Return Value

A new pipeline instance

### See Also

* interface [IPipeline](../../ipipeline/)
* class [ShaderProgram](../../shaderprogram/)
* class [RenderState](../../renderstate/)
* class [VertexDeclaration](../../../aspose.threed.utilities/vertexdeclaration/)
* enum [DrawOperation](../../drawoperation/)
* class [RenderFactory](../)
* namespace [Aspose.ThreeD.Render](../../renderfactory/)
* assembly [Aspose.3D](../../../)


