![]() |
LLGL 0.05 Beta
|
Graphics pipeline state descriptor structure. More...
#include <PipelineStateFlags.h>
Public Attributes | |
| const char * | debugName = nullptr |
| Optional name for debugging purposes. By default null. | |
| const PipelineLayout * | pipelineLayout = nullptr |
| Specifies an optional pipeline layout for the graphics pipeline. By default null. | |
| const RenderPass * | renderPass = nullptr |
| Specifies an optional render pass. By default null. | |
| DynamicVector< VertexAttribute > | inputVertexAttribs |
| Vertex input attributes. | |
| DynamicVector< VertexAttribute > | outputVertexAttribs |
| Vertex (or geometry or tessellation-evaluation) shader stream-output attributes. | |
| Shader * | vertexShader = nullptr |
| Specifies the vertex shader. | |
| Shader * | tessControlShader = nullptr |
| Specifies the tessellation-control shader (also referred to as "Hull Shader"). | |
| Shader * | tessEvaluationShader = nullptr |
| Specifies the tessellation-evaluation shader (also referred to as "Domain Shader"). | |
| Shader * | geometryShader = nullptr |
| Specifies an optional geometry shader. | |
| Shader * | fragmentShader = nullptr |
| Specifies an optional fragment shader (also referred to as "Pixel Shader"). | |
| Format | indexFormat = Format::Undefined |
| Specifies the index buffer format. This can either be Format::Undefined, Format::R16UInt, or Format::R32UInt. By default Format::Undefined. | |
| PrimitiveTopology | primitiveTopology = PrimitiveTopology::TriangleList |
| Specifies the primitive topology and ordering of the primitive data. By default PrimitiveTopology::TriangleList. | |
| DynamicVector< Viewport > | viewports |
| Specifies an optional list of static viewports. If empty, the viewports must be set dynamically with the command buffer. | |
| DynamicVector< Scissor > | scissors |
| Specifies an optional list of static scissor rectangles. If empty, the scissors must be set dynamically with the command buffer. | |
| DepthDescriptor | depth |
| Specifies the depth state for the depth-stencil stage. | |
| StencilDescriptor | stencil |
| Specifies the stencil state for the depth-stencil stage. | |
| RasterizerDescriptor | rasterizer |
| Specifies the state for the rasterizer stage. | |
| BlendDescriptor | blend |
| Specifies the state descriptor for the blend stage. | |
| TessellationDescriptor | tessellation |
| Specifies the tessellation pipeline state. | |
Graphics pipeline state descriptor structure.
| BlendDescriptor LLGL::GraphicsPipelineDescriptor::blend |
Specifies the state descriptor for the blend stage.
| const char* LLGL::GraphicsPipelineDescriptor::debugName = nullptr |
Optional name for debugging purposes. By default null.
| DepthDescriptor LLGL::GraphicsPipelineDescriptor::depth |
Specifies the depth state for the depth-stencil stage.
| Shader* LLGL::GraphicsPipelineDescriptor::fragmentShader = nullptr |
Specifies an optional fragment shader (also referred to as "Pixel Shader").
| Shader* LLGL::GraphicsPipelineDescriptor::geometryShader = nullptr |
Specifies an optional geometry shader.
| Format LLGL::GraphicsPipelineDescriptor::indexFormat = Format::Undefined |
Specifies the index buffer format. This can either be Format::Undefined, Format::R16UInt, or Format::R32UInt. By default Format::Undefined.
| DynamicVector<VertexAttribute> LLGL::GraphicsPipelineDescriptor::inputVertexAttribs |
Vertex input attributes.
| DynamicVector<VertexAttribute> LLGL::GraphicsPipelineDescriptor::outputVertexAttribs |
Vertex (or geometry or tessellation-evaluation) shader stream-output attributes.
LLGL_MAX_NUM_SO_BUFFERS. | const PipelineLayout* LLGL::GraphicsPipelineDescriptor::pipelineLayout = nullptr |
Specifies an optional pipeline layout for the graphics pipeline. By default null.
| PrimitiveTopology LLGL::GraphicsPipelineDescriptor::primitiveTopology = PrimitiveTopology::TriangleList |
Specifies the primitive topology and ordering of the primitive data. By default PrimitiveTopology::TriangleList.
| RasterizerDescriptor LLGL::GraphicsPipelineDescriptor::rasterizer |
Specifies the state for the rasterizer stage.
| const RenderPass* LLGL::GraphicsPipelineDescriptor::renderPass = nullptr |
Specifies an optional render pass. By default null.
| DynamicVector<Scissor> LLGL::GraphicsPipelineDescriptor::scissors |
Specifies an optional list of static scissor rectangles. If empty, the scissors must be set dynamically with the command buffer.
viewports, unless one of the lists is empty. | StencilDescriptor LLGL::GraphicsPipelineDescriptor::stencil |
Specifies the stencil state for the depth-stencil stage.
| Shader* LLGL::GraphicsPipelineDescriptor::tessControlShader = nullptr |
Specifies the tessellation-control shader (also referred to as "Hull Shader").
tessEvaluationShader. | TessellationDescriptor LLGL::GraphicsPipelineDescriptor::tessellation |
| Shader* LLGL::GraphicsPipelineDescriptor::tessEvaluationShader = nullptr |
Specifies the tessellation-evaluation shader (also referred to as "Domain Shader").
tessControlShader. | Shader* LLGL::GraphicsPipelineDescriptor::vertexShader = nullptr |
Specifies the vertex shader.
| DynamicVector<Viewport> LLGL::GraphicsPipelineDescriptor::viewports |
Specifies an optional list of static viewports. If empty, the viewports must be set dynamically with the command buffer.
scissors, unless one of the lists is empty.