SPARK
0.1.0
A general purpose game engine written in C++.
|
Stores the depth/stencil state of a see IRasterizer. More...
#include <DepthStencilState.h>
Classes | |
struct | DepthBias |
Describes the rasterizer depth bias. More... | |
struct | DepthState |
Describes the depth test state. More... | |
struct | Impl |
struct | StencilState |
Describes the rasterizer stencil state. More... | |
struct | StencilTest |
Describes a stencil test for either front or back faces. More... | |
Public Member Functions | |
DepthStencilState () noexcept | |
Initializes a new rasterizer depth/stencil empty state. | |
DepthStencilState (const DepthState &depth_state, const DepthBias &depth_bias, const StencilState &stencil_state) noexcept | |
Initializes a new rasterizer depth/stencil state. | |
DepthStencilState (const DepthStencilState &other) | |
DepthStencilState (DepthStencilState &&other) noexcept | |
DepthStencilState & | operator= (const DepthStencilState &other) |
DepthStencilState & | operator= (DepthStencilState &&other) noexcept |
DepthState & | depthState () const noexcept |
Gets the depth state of the rasterizer. | |
DepthBias & | depthBias () const noexcept |
Gets the depth bias of the rasterizer. | |
StencilState & | stencilState () const noexcept |
Gets the stencil state of the rasterizer. | |
Stores the depth/stencil state of a see IRasterizer.
|
explicitnoexcept |
Initializes a new rasterizer depth/stencil state.
depth_state | The depth state of the rasterizer. |
depth_bias | The depth bias of the rasterizer. |
stencil_state | The stencil state of the rasterizer. |
|
nodiscardnoexcept |
Gets the depth bias of the rasterizer.
|
nodiscardnoexcept |
Gets the depth state of the rasterizer.
|
nodiscardnoexcept |
Gets the stencil state of the rasterizer.