API Documentation
DepthStencilStateManager.h
1 // DepthStencilStateManager.h
3 //
5 
6 namespace nkGraphics
7 {
14  class DepthStencilStateManager : public Manager<DepthStencilState>, public nkCommon::MaybeSingletonClass<DepthStencilStateManager>
15  {
16  public :
17 
22 
23  public :
24 
29  inline static const nkMemory::StringView DEFAULT_NO_DEPTH = "NILKINS_NO_DEPTH" ;
30 
35  inline static const nkMemory::StringView DEFAULT_BEHIND_EVERYTHING = "NILKINS_BEHIND_EVERYTHING" ;
36 
41  inline static const nkMemory::StringView DEFAULT_BEHIND_EVERYTHING_REVERSE_Z = "NILKINS_BEHIND_EVERYTHING_REVERSE_Z" ;
42  } ;
43 }
nkGraphics::DepthStencilStateManager::DEFAULT_NO_DEPTH
static const nkMemory::StringView DEFAULT_NO_DEPTH
Default state ignoring depth.
Definition: DepthStencilStateManager.h:29
nkGraphics::DepthStencilStateManager::getDefaultState
DepthStencilState * getDefaultState() const
nkGraphics::DepthStencilStateManager
Manages the depth stencil states recorded.
Definition: DepthStencilStateManager.h:15
nkGraphics::Manager
Base class for resource managers.
Definition: Manager.h:13
nkGraphics::DepthStencilStateManager::DEFAULT_BEHIND_EVERYTHING
static const nkMemory::StringView DEFAULT_BEHIND_EVERYTHING
Default state painting only if depth is less or equal for standard Z.
Definition: DepthStencilStateManager.h:35
nkGraphics::DepthStencilState
Holds information about a depth and stencil state used for rendering.
Definition: DepthStencilState.h:14
nkMemory::StringView
Class holding information about a string, with no ownership over the data.
Definition: StringView.h:22
nkGraphics::DepthStencilStateManager::DEFAULT_BEHIND_EVERYTHING_REVERSE_Z
static const nkMemory::StringView DEFAULT_BEHIND_EVERYTHING_REVERSE_Z
Default state painting only if depth is less or equal for reversed Z.
Definition: DepthStencilStateManager.h:41
nkGraphics
Encompasses all API of component NilkinsGraphics.
Definition: BoundingBox.h:7