LiteFX::Rendering::Backends::DirectX12RasterizerBuilder¶
Builds a DirectX 12 IRasterizer.
Synopsis¶
Declared in <litefx/backends/dx12_builders.hpp>
class [[dllexport, nodiscard]] DirectX12RasterizerBuilder final
: public RasterizerBuilder<DirectX12Rasterizer>
Base Classes¶
| Name | Description |
|---|---|
RasterizerBuilder<DirectX12Rasterizer> | Builds a Rasterizer. |
Type Aliases¶
| Name |
|---|
rasterizer_type |
Member Functions¶
| Name | Description |
|---|---|
DirectX12RasterizerBuilder [constructor] | Initializes a DirectX 12 input assembler builder. |
~DirectX12RasterizerBuilder [destructor] [virtual] | Destructor |
operator= | Assignment operators |
conservativeRasterization | Initializes the rasterizer state with conservative rasterization. |
cullMode | Initializes the rasterizer state with the provided cull mode. |
cullOrder | Initializes the rasterizer state with the provided cull order. |
depthBias | Initializes the rasterizer depth bias. |
depthClip | Initializes the depth clip toggle for the rasterizer state. |
depthState | Initializes the rasterizer depth state. |
lineWidth | Initializes the rasterizer state with the provided line width. |
polygonMode | Initializes the rasterizer state with the provided polygon mode. |
stencilState | Initializes the rasterizer stencil state. |
Using Declarations¶
| Name |
|---|
RasterizerBuilder |
Protected Member Functions¶
| Name | Description |
|---|---|
build [virtual] | Can be overwritten to perform any pre-construction work before the builder returns the final object instance. |
Return Value¶
Note
The return value should not be discarded.
See Also¶
DirectX12Rasterizer