Skip to content

LiteFX::Rendering::Rasterizer::lineWidth

Returns the line width of the rasterizer state.

Synopsis

Declared in <litefx/rendering_api.hpp>

[[dllimport, dllexport]] virtual Float lineWidth() const noexcept override;

Description

Note that line width is not supported in DirectX and is only emulated under Vulkan. Instead of forcing this value, it is recommended to use a custom shader for it.

Return Value

The line width of the rasterizer state.