Skip to content

LiteFX::Rendering::IRasterizer

Represents the rasterizer state of a RenderPipeline.

Synopsis

Declared in <litefx/rendering_api.hpp>

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

Base Classes

NameDescription
SharedObjectBase class for an object that can be shared.

Type Aliases

Name
_Esft_type

Member Functions

NameDescription
~IRasterizer [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.

Protected Types

NameDescription
Allocator An allocator used to allocate the shared object.

Protected Member Functions

NameDescription
IRasterizer [constructor]Constructors
operator= Assignment operators

Protected Static Member Functions

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

Derived Classes

NameDescription
Rasterizer Implements a IRasterizer.