|
CeresEngine 0.2.0
A game development framework
|
#include <CeresEngine/RenderAPI/GPUGraphicsPipeline.hpp>
Static Public Member Functions | |
| template<typename Processor > | |
| static constexpr void | reflect (Processor &&RTTI) |
| Executes the given processor for every field of the struct. | |
Public Attributes | |
| GPUShaderProgramPtr | shaderProgram = nullptr |
| Pointer to the shader program for the graphics pipeline. | |
| GPURenderPassPtr | renderPass = nullptr |
| Pointer to a RenderPass object. By default null. | |
| GPUPipelineLayoutPtr | pipelineLayout = nullptr |
| Pointer to an optional pipeline layout for the graphics pipeline. | |
| PrimitiveTopology | primitiveTopology = PrimitiveTopology::Triangles |
| Specifies the primitive topology and ordering of the primitive data. | |
| UInt32 | patchControlPoints = 0 |
Specifies the number of control points when using patches primitives. | |
| Vector< Viewport > | viewports |
| Specifies an optional list of viewports. | |
| Vector< Scissor > | scissors |
| Specifies an optional list of scissor rectangles. | |
| GPUVertexInputDescriptor | vertexInput |
| Specifies the vertex assembly state descriptor. | |
| GPUGraphicsPipelineState | state |
| Specifies the graphics state descriptor. | |
| String | name |
| A user-facing name for the pipeline. | |
|
inlinestaticconstexpr |
Executes the given processor for every field of the struct.
| RTTI | The processor to be ran for every field. |
| String CeresEngine::GPUGraphicsPipelineDescriptor::name |
A user-facing name for the pipeline.
This is only used for debugging.
| UInt32 CeresEngine::GPUGraphicsPipelineDescriptor::patchControlPoints = 0 |
Specifies the number of control points when using patches primitives.
| GPUPipelineLayoutPtr CeresEngine::GPUGraphicsPipelineDescriptor::pipelineLayout = nullptr |
Pointer to an optional pipeline layout for the graphics pipeline.
By default null. If null, will use the deduced pipeline layout for the shader program.
| PrimitiveTopology CeresEngine::GPUGraphicsPipelineDescriptor::primitiveTopology = PrimitiveTopology::Triangles |
Specifies the primitive topology and ordering of the primitive data.
By default PrimitiveType::triangleList.
| GPURenderPassPtr CeresEngine::GPUGraphicsPipelineDescriptor::renderPass = nullptr |
Pointer to a RenderPass object. By default null.
Specifies an optional list of scissor rectangles.
If empty, the scissors must be set dynamically with the command buffer.
viewports, unless one of the lists is empty. | GPUShaderProgramPtr CeresEngine::GPUGraphicsPipelineDescriptor::shaderProgram = nullptr |
Pointer to the shader program for the graphics pipeline.
By default null.
| GPUGraphicsPipelineState CeresEngine::GPUGraphicsPipelineDescriptor::state |
Specifies the graphics state descriptor.
| GPUVertexInputDescriptor CeresEngine::GPUGraphicsPipelineDescriptor::vertexInput |
Specifies the vertex assembly state descriptor.
Specifies an optional list of viewports.
If empty, the viewports must be set dynamically with the command buffer.