LiteFX::Rendering::Backends::VulkanRasterizer::create¶
create overloads
Synopses¶
Declared in <litefx/backends/vulkan.hpp>
Creates a new Vulkan rasterizer state by copying an existing one.
[[dllimport, dllexport]] static auto create(VulkanRasterizer const& other);
Creates a new Vulkan rasterizer state.
[[dllimport, dllexport]] static auto create(
PolygonMode polygonMode,
CullMode cullMode,
CullOrder cullOrder,
Float lineWidth = 1.f,
bool depthClip = true,
DepthStencilState const& depthStencilState = {},
bool conservativeRasterization = false);
Return Value¶
A shared pointer to the newly created rasterizer instance.
Parameters¶
| Name | Description |
|---|---|
| other | The rasterizer state to copy. |
| polygonMode | The polygon mode used by the pipeline. |
| cullMode | The cull mode used by the pipeline. |
| cullOrder | The cull order used by the pipeline. |
| lineWidth | The line width used by the pipeline. |
| depthClip | The depth clip toggle of the rasterizer state. |
| depthStencilState | The rasterizer depth/stencil state. |
| conservativeRasterization | Toggles the use of conservative rasterization in the rasterizer. |