Skip to content

LiteFX::Rendering::Rasterizer

Implements a IRasterizer.

Synopsis

Declared in <litefx/rendering_api.hpp>

class [[dllimport, dllexport]] Rasterizer
    : public IRasterizer

Base Classes

NameDescription
IRasterizerRepresents the rasterizer state of a RenderPipeline.

Type Aliases

Name
_Esft_type

Member Functions

NameDescription
~Rasterizer [destructor] [virtual]Releases the rasterizer instance.
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.

Protected Types

NameDescription
Allocator An allocator used to allocate the shared object.

Protected Member Functions

NameDescription
Rasterizer [constructor]Constructors
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::Rendering::Rasterizer::RasterizerImpl
LiteFX::PimplPtrA smart pointer that manages an implementation instance for a public interface class.

Derived Classes

NameDescription
DirectX12Rasterizer Implements a DirectX 12 IRasterizer.
VulkanRasterizer Implements a Vulkan IRasterizer.