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

#include <glDrawRegistry.h>

Inheritance diagram for GLDrawRegistry< DESC_TYPE, CONFIG_TYPE, SOURCE_CONFIG_TYPE >:
GLDrawRegistryBase

Public Types

typedef DESC_TYPE DescType
 
typedef CONFIG_TYPE ConfigType
 
typedef SOURCE_CONFIG_TYPE SourceConfigType
 
typedef GLDrawRegistryBase BaseRegistry
 
typedef std::map< DescType,
ConfigType * > 
ConfigMap
 
- Public Types inherited from GLDrawRegistryBase
typedef
DrawContext::PatchDescriptor 
DescType
 
typedef GLDrawConfig ConfigType
 
typedef GLDrawSourceConfig SourceConfigType
 

Public Member Functions

virtual ~GLDrawRegistry ()
 
void Reset ()
 
ConfigTypeGetDrawConfig (DescType const &desc)
 
- Public Member Functions inherited from GLDrawRegistryBase
 GLDrawRegistryBase (bool enablePtex=false)
 
virtual ~GLDrawRegistryBase ()
 
bool IsPtexEnabled () const
 
void SetPtexEnabled (bool b)
 

Protected Member Functions

virtual ConfigType_NewDrawConfig ()
 
virtual ConfigType_CreateDrawConfig (DescType const &, SourceConfigType const *)
 
virtual SourceConfigType_NewDrawSourceConfig ()
 
virtual SourceConfigType_CreateDrawSourceConfig (DescType const &)
 

Detailed Description

template<class DESC_TYPE = DrawContext::PatchDescriptor, class CONFIG_TYPE = GLDrawConfig, class SOURCE_CONFIG_TYPE = GLDrawSourceConfig>
class OpenSubdiv::OPENSUBDIV_VERSION::Osd::GLDrawRegistry< DESC_TYPE, CONFIG_TYPE, SOURCE_CONFIG_TYPE >

Definition at line 108 of file glDrawRegistry.h.

Member Typedef Documentation

Definition at line 115 of file glDrawRegistry.h.

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

Definition at line 117 of file glDrawRegistry.h.

typedef CONFIG_TYPE ConfigType

Definition at line 112 of file glDrawRegistry.h.

typedef DESC_TYPE DescType

Definition at line 111 of file glDrawRegistry.h.

typedef SOURCE_CONFIG_TYPE SourceConfigType

Definition at line 113 of file glDrawRegistry.h.

Constructor & Destructor Documentation

virtual ~GLDrawRegistry ( )
inlinevirtual

Definition at line 119 of file glDrawRegistry.h.

Member Function Documentation

virtual ConfigType* _CreateDrawConfig ( DescType const &  ,
SourceConfigType const *   
)
inlineprotectedvirtual

Reimplemented from GLDrawRegistryBase.

Definition at line 150 of file glDrawRegistry.h.

virtual SourceConfigType* _CreateDrawSourceConfig ( DescType const &  )
inlineprotectedvirtual

Reimplemented from GLDrawRegistryBase.

Definition at line 159 of file glDrawRegistry.h.

virtual ConfigType* _NewDrawConfig ( )
inlineprotectedvirtual

Reimplemented from GLDrawRegistryBase.

Definition at line 146 of file glDrawRegistry.h.

virtual SourceConfigType* _NewDrawSourceConfig ( )
inlineprotectedvirtual

Reimplemented from GLDrawRegistryBase.

Definition at line 155 of file glDrawRegistry.h.

ConfigType* GetDrawConfig ( DescType const &  desc)
inline

Definition at line 132 of file glDrawRegistry.h.

void Reset ( )
inline

Definition at line 123 of file glDrawRegistry.h.


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