Skip to content

LiteFX::Rendering::IRasterizer::lineWidth

Returns the line width of the rasterizer state.

Synopsis

Declared in <litefx/rendering_api.hpp>

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

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.