LiteFX::Rendering::Backends::VulkanRenderPipeline::VulkanRenderPipeline¶
Initializes a new Vulkan render pipeline.
Synopses¶
Declared in <litefx/backends/vulkan.hpp>
Copy constructor
VulkanRenderPipeline(VulkanRenderPipeline const& other) = delete;
Move constructor
VulkanRenderPipeline(VulkanRenderPipeline&& other) noexcept = delete;
Initializes a new Vulkan render pipeline.
[[dllimport, dllexport]] explicit VulkanRenderPipeline(
VulkanRenderPass const& renderPass,
SharedPtr<VulkanPipelineLayout> const& layout,
SharedPtr<VulkanShaderProgram> const& shaderProgram,
SharedPtr<VulkanInputAssembler> const& inputAssembler,
SharedPtr<VulkanRasterizer> const& rasterizer,
MultiSamplingLevel samples = MultiSamplingLevel::x1,
bool enableAlphaToCoverage = false,
String const& name = "");
Parameters¶
| Name | Description |
|---|---|
| renderPass | The parent render pass. |
| layout | The layout of the pipeline. |
| shaderProgram | The shader program used by the pipeline. |
| inputAssembler | The input assembler state of the pipeline. |
| rasterizer | The rasterizer state of the pipeline. |
| samples | The initial multi-sampling level of the render pipeline. |
| enableAlphaToCoverage | Whether or not to enable Alpha-to-Coverage multi-sampling. |
| name | The optional name of the render pipeline. |