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)
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
- class ShaderProgram
- class RenderState
- class VertexDeclaration
- enum DrawOperation
- class RenderFactory
- namespace Aspose.ThreeD.Render
- assembly Aspose.3D