Stores the depth/stencil state of a see IRasterizer.
More...
#include <rendering_api.hpp>
Stores the depth/stencil state of a see IRasterizer.
◆ DepthStencilState() [1/4]
Initializes a new rasterizer depth/stencil state.
- Parameters
-
depthState | The depth state of the rasterizer. |
depthBias | The depth bias configuration of the rasterizer. |
stencilState | The stencil state of the rasterizer. |
◆ DepthStencilState() [2/4]
DepthStencilState::DepthStencilState |
( |
| ) |
|
|
noexcept |
Initializes a new rasterizer depth/stencil state.
◆ DepthStencilState() [3/4]
Creates a copy of a depth/stencil state.
◆ DepthStencilState() [4/4]
Moves a depth/stencil state.
◆ ~DepthStencilState()
DepthStencilState::~DepthStencilState |
( |
| ) |
|
|
virtualdefaultnoexcept |
Destroys a depth/stencil state.
◆ depthBias()
Returns the depth bias.
- Returns
- The depth bias.
◆ depthState()
Returns the depth state.
- Returns
- The depth state.
◆ operator=() [1/2]
Copies a depth/stencil state.
- Returns
- A reference to the current depth/stencil state instance.
◆ operator=() [2/2]
Moves a depth/stencil state.
- Returns
- A reference to the current depth/stencil state instance.
◆ stencilState()
Returns the stencil state.
- Returns
- The stencil state.