Skip to content

LiteFX::Rendering::RenderPipelineBuilder::rasterizer

Uses the provided rasterizer state to initialize the render pipeline. Can be invoked only once.

Synopsis

Declared in <litefx/rendering_builders.hpp>

template<typename TSelf>
constexpr TSelf&& rasterizer(this 
    TSelf&& self,
    SharedPtr<rasterizer_type> rasterizer);

Parameters

NameDescription
rasterizerThe rasterizer state to initialize the render pipeline with.