|
Talvos
0.1
SPIR-V interpreter and dynamic analysis framework
|
This class encapsulates a graphics pipeline. More...
#include <talvos/GraphicsPipeline.h>
Public Member Functions | |
| GraphicsPipeline (VkPrimitiveTopology Topology, PipelineStage *VertexStage, PipelineStage *FragmentStage, const VertexBindingDescriptionList &VertexBindingDescriptions, const VertexAttributeDescriptionList &VertexAttributeDescriptions, const VkPipelineRasterizationStateCreateInfo &RasterizationState, const BlendAttachmentStateList &BlendAttachmentStates, const std::array< float, 4 > &BlendConstants, const std::vector< VkViewport > &Viewports, const std::vector< VkRect2D > &Scissors) | |
| Create a graphics pipeline. More... | |
| ~GraphicsPipeline () | |
| Destroy the pipeline. More... | |
| const BlendAttachmentStateList & | getBlendAttachmentStates () const |
| Returns the list of blend attachment states. More... | |
| const std::array< float, 4 > & | getBlendConstants () const |
| Returns the blend constants. More... | |
| const PipelineStage * | getFragmentStage () const |
| Returns the fragment pipeline stage. More... | |
| const VkPipelineRasterizationStateCreateInfo & | getRasterizationState () const |
| Returns the rasterization state used by this pipeline. More... | |
| const std::vector< VkRect2D > & | getScissors () const |
| Returns the static scissor rectangles used by this pipeline. More... | |
| VkPrimitiveTopology | getTopology () const |
| Returns the primitive topology used by this pipeline. More... | |
| const PipelineStage * | getVertexStage () const |
| Returns the vertex pipeline stage. More... | |
| const VertexAttributeDescriptionList & | getVertexAttributeDescriptions () const |
| Returns the list of vertex attribute descriptions. More... | |
| const VertexBindingDescriptionList & | getVertexBindingDescriptions () const |
| Returns the list of vertex binding descriptions. More... | |
| const std::vector< VkViewport > & | getViewports () const |
| Returns the static viewports used by this pipeline. More... | |
| GraphicsPipeline (const GraphicsPipeline &)=delete | |
| GraphicsPipeline & | operator= (const GraphicsPipeline &)=delete |
Private Attributes | |
| VkPrimitiveTopology | Topology |
| The primitive topology used by this pipeline. More... | |
| PipelineStage * | VertexStage |
| The vertex pipeline stage in this pipeline. More... | |
| PipelineStage * | FragmentStage |
| The fragment pipeline stage in this pipeline. More... | |
| VertexBindingDescriptionList | VertexBindingDescriptions |
| The vertex binding descriptions. More... | |
| VertexAttributeDescriptionList | VertexAttributeDescriptions |
| The vertex attribute descriptions. More... | |
| VkPipelineRasterizationStateCreateInfo | RasterizationState |
| The rasterization state. More... | |
| BlendAttachmentStateList | BlendAttachmentStates |
| The color blend attachement states. More... | |
| std::array< float, 4 > | BlendConstants |
| The blend constants. More... | |
| std::vector< VkViewport > | Viewports |
| The static viewports used by this pipeline. More... | |
| std::vector< VkRect2D > | Scissors |
| The static scissor rectangles used by this pipeline. More... | |
This class encapsulates a graphics pipeline.
Definition at line 35 of file GraphicsPipeline.h.
|
inline |
Create a graphics pipeline.
Ownership of any non-null stages is transferred to the pipeline.
Definition at line 40 of file GraphicsPipeline.h.
| talvos::GraphicsPipeline::~GraphicsPipeline | ( | ) |
Destroy the pipeline.
Definition at line 15 of file GraphicsPipeline.cpp.
|
delete |
|
inline |
Returns the list of blend attachment states.
Definition at line 69 of file GraphicsPipeline.h.
|
inline |
Returns the blend constants.
Definition at line 75 of file GraphicsPipeline.h.
|
inline |
Returns the fragment pipeline stage.
Definition at line 81 of file GraphicsPipeline.h.
|
inline |
Returns the rasterization state used by this pipeline.
Definition at line 84 of file GraphicsPipeline.h.
|
inline |
Returns the static scissor rectangles used by this pipeline.
Definition at line 90 of file GraphicsPipeline.h.
|
inline |
Returns the primitive topology used by this pipeline.
Definition at line 93 of file GraphicsPipeline.h.
|
inline |
Returns the list of vertex attribute descriptions.
Definition at line 99 of file GraphicsPipeline.h.
|
inline |
Returns the list of vertex binding descriptions.
Definition at line 105 of file GraphicsPipeline.h.
|
inline |
Returns the vertex pipeline stage.
Definition at line 96 of file GraphicsPipeline.h.
|
inline |
Returns the static viewports used by this pipeline.
Definition at line 111 of file GraphicsPipeline.h.
|
delete |
|
private |
The color blend attachement states.
Definition at line 133 of file GraphicsPipeline.h.
|
private |
The blend constants.
Definition at line 136 of file GraphicsPipeline.h.
|
private |
The fragment pipeline stage in this pipeline.
Definition at line 121 of file GraphicsPipeline.h.
|
private |
The rasterization state.
Definition at line 130 of file GraphicsPipeline.h.
|
private |
The static scissor rectangles used by this pipeline.
Definition at line 142 of file GraphicsPipeline.h.
|
private |
The primitive topology used by this pipeline.
Definition at line 115 of file GraphicsPipeline.h.
|
private |
The vertex attribute descriptions.
Definition at line 127 of file GraphicsPipeline.h.
|
private |
The vertex binding descriptions.
Definition at line 124 of file GraphicsPipeline.h.
|
private |
The vertex pipeline stage in this pipeline.
Definition at line 118 of file GraphicsPipeline.h.
|
private |
The static viewports used by this pipeline.
Definition at line 139 of file GraphicsPipeline.h.
1.8.6