Public Member Functions | Static Public Member Functions | Static Private Attributes | List of all members
gte::DX11DepthStencilState Class Reference

#include <GteDX11DepthStencilState.h>

Inheritance diagram for gte::DX11DepthStencilState:
Inheritance graph
[legend]

Public Member Functions

 DX11DepthStencilState (ID3D11Device *device, DepthStencilState const *depthStencilState)
 
void Enable (ID3D11DeviceContext *context)
 
DepthStencilStateGetDepthStencilState ()
 
ID3D11DepthStencilState * GetDXDepthStencilState ()
 
- Public Member Functions inherited from gte::DX11GraphicsObject
ID3D11DeviceChild * GetDXDeviceChild () const
 
virtual void SetName (std::string const &name) override
 
virtual ~DX11GraphicsObject ()
 
- Public Member Functions inherited from gte::GEObject
GraphicsObjectGetGraphicsObject () const
 
std::string const & GetName () const
 
virtual ~GEObject ()
 

Static Public Member Functions

static std::shared_ptr< GEObjectCreate (void *device, GraphicsObject const *object)
 

Static Private Attributes

static D3D11_COMPARISON_FUNC const msComparison []
 
static D3D11_STENCIL_OP const msOperation []
 
static D3D11_DEPTH_WRITE_MASK const msWriteMask []
 

Additional Inherited Members

- Protected Member Functions inherited from gte::DX11DrawingState
 DX11DrawingState (DrawingState const *gtState)
 
- Protected Member Functions inherited from gte::DX11GraphicsObject
 DX11GraphicsObject (GraphicsObject const *gtObject)
 
- Protected Member Functions inherited from gte::GEObject
 GEObject (GraphicsObject const *gtObject)
 
- Protected Attributes inherited from gte::DX11GraphicsObject
ID3D11DeviceChild * mDXObject
 
- Protected Attributes inherited from gte::GEObject
GraphicsObjectmGTObject
 
std::string mName
 

Detailed Description

Definition at line 16 of file GteDX11DepthStencilState.h.

Constructor & Destructor Documentation

DX11DepthStencilState::DX11DepthStencilState ( ID3D11Device *  device,
DepthStencilState const *  depthStencilState 
)

Definition at line 12 of file GteDX11DepthStencilState.cpp.

Member Function Documentation

std::shared_ptr< GEObject > DX11DepthStencilState::Create ( void device,
GraphicsObject const *  object 
)
static

Definition at line 42 of file GteDX11DepthStencilState.cpp.

void DX11DepthStencilState::Enable ( ID3D11DeviceContext *  context)

Definition at line 55 of file GteDX11DepthStencilState.cpp.

DepthStencilState * gte::DX11DepthStencilState::GetDepthStencilState ( )
inline

Definition at line 37 of file GteDX11DepthStencilState.h.

ID3D11DepthStencilState * gte::DX11DepthStencilState::GetDXDepthStencilState ( )
inline

Definition at line 42 of file GteDX11DepthStencilState.h.

Member Data Documentation

D3D11_COMPARISON_FUNC const DX11DepthStencilState::msComparison
staticprivate
Initial value:
=
{
D3D11_COMPARISON_NEVER,
D3D11_COMPARISON_LESS,
D3D11_COMPARISON_EQUAL,
D3D11_COMPARISON_LESS_EQUAL,
D3D11_COMPARISON_GREATER,
D3D11_COMPARISON_NOT_EQUAL,
D3D11_COMPARISON_GREATER_EQUAL,
D3D11_COMPARISON_ALWAYS
}

Definition at line 33 of file GteDX11DepthStencilState.h.

D3D11_STENCIL_OP const DX11DepthStencilState::msOperation
staticprivate
Initial value:
=
{
D3D11_STENCIL_OP_KEEP,
D3D11_STENCIL_OP_ZERO,
D3D11_STENCIL_OP_REPLACE,
D3D11_STENCIL_OP_INCR_SAT,
D3D11_STENCIL_OP_DECR_SAT,
D3D11_STENCIL_OP_INVERT,
D3D11_STENCIL_OP_INCR,
D3D11_STENCIL_OP_DECR
}

Definition at line 34 of file GteDX11DepthStencilState.h.

D3D11_DEPTH_WRITE_MASK const DX11DepthStencilState::msWriteMask
staticprivate
Initial value:
=
{
D3D11_DEPTH_WRITE_MASK_ZERO,
D3D11_DEPTH_WRITE_MASK_ALL
}

Definition at line 32 of file GteDX11DepthStencilState.h.


The documentation for this class was generated from the following files:


geometric_tools_engine
Author(s): Yijiang Huang
autogenerated on Thu Jul 18 2019 04:00:05