Skip to content

LiteFX::Rendering::Backends::DirectX12Rasterizer

Implements a DirectX 12 IRasterizer.

Synopsis

Declared in <litefx/backends/dx12.hpp>

class [[dllimport, dllexport]] DirectX12Rasterizer final
    : public Rasterizer

Base Classes

NameDescription
RasterizerImplements a IRasterizer.

Type Aliases

Member Functions

NameDescription
~DirectX12Rasterizer [destructor] [virtual]Destructor
conservativeRasterization [virtual]Returns true, if conservative rasterization is enabled and false otherwise.
cullMode [virtual]Returns the cull mode of the rasterizer state.
cullOrder [virtual]Returns the cull mode of the rasterizer state.
depthClip [virtual]Returns true, if z-clipping should be used during distance clipping.
depthStencilState [virtual]Returns the depth/stencil state of the rasterizer.
lineWidth [virtual]Returns the line width of the rasterizer state.
polygonMode [virtual]Returns the polygon mode of the rasterizer state.
shared_from_this Returns a shared pointer to the current object instance.
weak_from_this Returns a weak pointer to the current object instance.

Static Member Functions

NameDescription
create create overloads

Protected Types

NameDescription
Allocator An allocator used to allocate the shared object.

Protected Member Functions

NameDescription
operator= Assignment operators
conservativeRasterization [virtual]
cullMode [virtual]
cullOrder [virtual]
depthClip [virtual]
depthStencilState [virtual]
lineWidth [virtual]
polygonMode [virtual]

Protected Static Member Functions

NameDescription
create Generic factory method used to create instances of the shared object.

Friends

NameDescription
LiteFX::SharedObject::AllocatorAn allocator used to allocate the shared object.
LiteFX::Rendering::Backends::DirectX12RasterizerBuilderBuilds a DirectX 12 IRasterizer.

See Also

DirectX12RasterizerBuilder