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

#include <GteDX11BlendState.h>

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

Public Member Functions

 DX11BlendState (ID3D11Device *device, BlendState const *blendState)
 
void Enable (ID3D11DeviceContext *context)
 
BlendStateGetBlendState ()
 
ID3D11BlendState * GetDXBlendState ()
 
- 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_BLEND const msMode []
 
static D3D11_BLEND_OP const msOperation []
 

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 GteDX11BlendState.h.

Constructor & Destructor Documentation

DX11BlendState::DX11BlendState ( ID3D11Device *  device,
BlendState const *  blendState 
)

Definition at line 12 of file GteDX11BlendState.cpp.

Member Function Documentation

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

Definition at line 41 of file GteDX11BlendState.cpp.

void DX11BlendState::Enable ( ID3D11DeviceContext *  context)

Definition at line 54 of file GteDX11BlendState.cpp.

BlendState * gte::DX11BlendState::GetBlendState ( )
inline

Definition at line 36 of file GteDX11BlendState.h.

ID3D11BlendState * gte::DX11BlendState::GetDXBlendState ( )
inline

Definition at line 41 of file GteDX11BlendState.h.

Member Data Documentation

D3D11_BLEND const DX11BlendState::msMode
staticprivate
Initial value:
=
{
D3D11_BLEND_ZERO,
D3D11_BLEND_ONE,
D3D11_BLEND_SRC_COLOR,
D3D11_BLEND_INV_SRC_COLOR,
D3D11_BLEND_SRC_ALPHA,
D3D11_BLEND_INV_SRC_ALPHA,
D3D11_BLEND_DEST_ALPHA,
D3D11_BLEND_INV_DEST_ALPHA,
D3D11_BLEND_DEST_COLOR,
D3D11_BLEND_INV_DEST_COLOR,
D3D11_BLEND_SRC_ALPHA_SAT,
D3D11_BLEND_BLEND_FACTOR,
D3D11_BLEND_INV_BLEND_FACTOR,
D3D11_BLEND_SRC1_COLOR,
D3D11_BLEND_INV_SRC1_COLOR,
D3D11_BLEND_SRC1_ALPHA,
D3D11_BLEND_INV_SRC1_ALPHA
}

Definition at line 32 of file GteDX11BlendState.h.

D3D11_BLEND_OP const DX11BlendState::msOperation
staticprivate
Initial value:
=
{
D3D11_BLEND_OP_ADD,
D3D11_BLEND_OP_SUBTRACT,
D3D11_BLEND_OP_REV_SUBTRACT,
D3D11_BLEND_OP_MIN,
D3D11_BLEND_OP_MAX
}

Definition at line 33 of file GteDX11BlendState.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