All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
D3D11DrawRegistry< DESC_TYPE, CONFIG_TYPE, SOURCE_CONFIG_TYPE > Class Template Reference

#include <d3d11DrawRegistry.h>

Inheritance diagram for D3D11DrawRegistry< DESC_TYPE, CONFIG_TYPE, SOURCE_CONFIG_TYPE >:
D3D11DrawRegistryBase

Public Types

typedef D3D11DrawRegistryBase BaseRegistry
 
typedef DESC_TYPE DescType
 
typedef CONFIG_TYPE ConfigType
 
typedef SOURCE_CONFIG_TYPE SourceConfigType
 
typedef std::map< DescType,
ConfigType * > 
ConfigMap
 
- Public Types inherited from D3D11DrawRegistryBase
typedef
DrawContext::PatchDescriptor 
DescType
 
typedef D3D11DrawConfig ConfigType
 
typedef D3D11DrawSourceConfig SourceConfigType
 

Public Member Functions

virtual ~D3D11DrawRegistry ()
 
void Reset ()
 
ConfigTypeGetDrawConfig (DescType const &desc, ID3D11Device *pd3dDevice, ID3D11InputLayout **ppInputLayout=NULL, D3D11_INPUT_ELEMENT_DESC const *pInputElementDescs=NULL, int numInputElements=0)
 
- Public Member Functions inherited from D3D11DrawRegistryBase
 D3D11DrawRegistryBase (bool enablePtex=false)
 
virtual ~D3D11DrawRegistryBase ()
 
bool IsPtexEnabled () const
 
void SetPtexEnabled (bool b)
 

Protected Member Functions

virtual ConfigType_NewDrawConfig ()
 
virtual ConfigType_CreateDrawConfig (DescType const &desc, SourceConfigType const *sconfig, ID3D11Device *pd3dDevice, ID3D11InputLayout **ppInputLayout, D3D11_INPUT_ELEMENT_DESC const *pInputElementDescs, int numInputElements)
 
virtual SourceConfigType_NewDrawSourceConfig ()
 
virtual SourceConfigType_CreateDrawSourceConfig (DescType const &desc, ID3D11Device *pd3dDevice)
 

Detailed Description

template<class DESC_TYPE = DrawContext::PatchDescriptor, class CONFIG_TYPE = D3D11DrawConfig, class SOURCE_CONFIG_TYPE = D3D11DrawSourceConfig>
class OpenSubdiv::OPENSUBDIV_VERSION::Osd::D3D11DrawRegistry< DESC_TYPE, CONFIG_TYPE, SOURCE_CONFIG_TYPE >

Definition at line 123 of file d3d11DrawRegistry.h.

Member Typedef Documentation

Definition at line 126 of file d3d11DrawRegistry.h.

typedef std::map<DescType, ConfigType *> ConfigMap

Definition at line 132 of file d3d11DrawRegistry.h.

typedef CONFIG_TYPE ConfigType

Definition at line 129 of file d3d11DrawRegistry.h.

typedef DESC_TYPE DescType

Definition at line 128 of file d3d11DrawRegistry.h.

typedef SOURCE_CONFIG_TYPE SourceConfigType

Definition at line 130 of file d3d11DrawRegistry.h.

Constructor & Destructor Documentation

virtual ~D3D11DrawRegistry ( )
inlinevirtual

Definition at line 135 of file d3d11DrawRegistry.h.

Member Function Documentation

virtual ConfigType* _CreateDrawConfig ( DescType const &  desc,
SourceConfigType const *  sconfig,
ID3D11Device *  pd3dDevice,
ID3D11InputLayout **  ppInputLayout,
D3D11_INPUT_ELEMENT_DESC const *  pInputElementDescs,
int  numInputElements 
)
inlineprotectedvirtual

Reimplemented from D3D11DrawRegistryBase.

Definition at line 174 of file d3d11DrawRegistry.h.

virtual SourceConfigType* _CreateDrawSourceConfig ( DescType const &  desc,
ID3D11Device *  pd3dDevice 
)
inlineprotectedvirtual

Reimplemented from D3D11DrawRegistryBase.

Definition at line 187 of file d3d11DrawRegistry.h.

virtual ConfigType* _NewDrawConfig ( )
inlineprotectedvirtual

Reimplemented from D3D11DrawRegistryBase.

Definition at line 170 of file d3d11DrawRegistry.h.

virtual SourceConfigType* _NewDrawSourceConfig ( )
inlineprotectedvirtual

Reimplemented from D3D11DrawRegistryBase.

Definition at line 183 of file d3d11DrawRegistry.h.

ConfigType* GetDrawConfig ( DescType const &  desc,
ID3D11Device *  pd3dDevice,
ID3D11InputLayout **  ppInputLayout = NULL,
D3D11_INPUT_ELEMENT_DESC const *  pInputElementDescs = NULL,
int  numInputElements = 0 
)
inline

Definition at line 149 of file d3d11DrawRegistry.h.

void Reset ( )
inline

Definition at line 139 of file d3d11DrawRegistry.h.


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