LiteFX 0.3.1.2022
Computer Graphics Engine
|
Implements a IRasterizer. More...
#include <rendering_api.hpp>
Inherits LiteFX::Rendering::IRasterizer.
Inherited by LiteFX::Rendering::Backends::DirectX12Rasterizer, and LiteFX::Rendering::Backends::VulkanRasterizer.
Classes | |
class | RasterizerImpl |
Public Member Functions | |
Rasterizer (const PolygonMode &polygonMode, const CullMode &cullMode, const CullOrder &cullOrder, const Float &lineWidth=1.f, const DepthStencilState &depthStencilState={}) noexcept | |
Initializes a new rasterizer instance. More... | |
Rasterizer (Rasterizer &&) noexcept | |
Rasterizer (const Rasterizer &) noexcept | |
virtual | ~Rasterizer () noexcept |
virtual const PolygonMode & | polygonMode () const noexcept override |
Returns the polygon mode of the rasterizer state. More... | |
virtual const CullMode & | cullMode () const noexcept override |
Returns the cull mode of the rasterizer state. More... | |
virtual const CullOrder & | cullOrder () const noexcept override |
Returns the cull mode of the rasterizer state. More... | |
virtual const Float & | lineWidth () const noexcept override |
Returns the line width of the rasterizer state. More... | |
virtual const DepthStencilState & | depthStencilState () const noexcept override |
Returns the depth/stencil state of the rasterizer. More... | |
Public Member Functions inherited from LiteFX::Rendering::IRasterizer | |
virtual | ~IRasterizer () noexcept=default |
virtual const PolygonMode & | polygonMode () const noexcept=0 |
Returns the polygon mode of the rasterizer state. More... | |
virtual const CullMode & | cullMode () const noexcept=0 |
Returns the cull mode of the rasterizer state. More... | |
virtual const CullOrder & | cullOrder () const noexcept=0 |
Returns the cull mode of the rasterizer state. More... | |
virtual const Float & | lineWidth () const noexcept=0 |
Returns the line width of the rasterizer state. More... | |
virtual const DepthStencilState & | depthStencilState () const noexcept=0 |
Returns the depth/stencil state of the rasterizer. More... | |
Protected Member Functions | |
virtual PolygonMode & | polygonMode () noexcept |
virtual CullMode & | cullMode () noexcept |
virtual CullOrder & | cullOrder () noexcept |
virtual Float & | lineWidth () noexcept |
virtual DepthStencilState & | depthStencilState () noexcept |
Implements a IRasterizer.
|
explicitnoexcept |
Initializes a new rasterizer instance.
polygonMode | The polygon mode of the rasterizer state. |
cullMode | The cull mode of the rasterizer state. |
cullOrder | The cull order of the rasterizer state. |
lineWidth | The line width of the rasterizer state. |
depthStencilState | The rasterizer depth/stencil state. |
|
noexcept |
|
noexcept |
|
virtualdefaultnoexcept |
|
overridevirtualnoexcept |
Returns the cull mode of the rasterizer state.
Implements LiteFX::Rendering::IRasterizer.
|
protectedvirtualnoexcept |
|
overridevirtualnoexcept |
Returns the cull mode of the rasterizer state.
Implements LiteFX::Rendering::IRasterizer.
|
protectedvirtualnoexcept |
|
overridevirtualnoexcept |
Returns the depth/stencil state of the rasterizer.
Implements LiteFX::Rendering::IRasterizer.
|
protectedvirtualnoexcept |
|
overridevirtualnoexcept |
Returns the line width of the rasterizer state.
Implements LiteFX::Rendering::IRasterizer.
|
protectedvirtualnoexcept |
|
overridevirtualnoexcept |
Returns the polygon mode of the rasterizer state.
Implements LiteFX::Rendering::IRasterizer.
|
protectedvirtualnoexcept |