Skip to content

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;

» more...

Move constructor

VulkanRenderPipeline(VulkanRenderPipeline&& other) noexcept = delete;

» more...

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 = "");

» more...

Parameters

NameDescription
renderPassThe parent render pass.
layoutThe layout of the pipeline.
shaderProgramThe shader program used by the pipeline.
inputAssemblerThe input assembler state of the pipeline.
rasterizerThe rasterizer state of the pipeline.
samplesThe initial multi-sampling level of the render pipeline.
enableAlphaToCoverageWhether or not to enable Alpha-to-Coverage multi-sampling.
nameThe optional name of the render pipeline.