VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Static Public Member Functions | Protected Member Functions | Static Protected Member Functions | Protected Attributes | Static Protected Attributes
makVrv::DtIndirectCullProgramCache Class Reference

This class holds gpu culling programs corresponding to their config Each unique config creates an unique program (essentially the config maps to unique set of #defines for the shader)

Inheritance diagram for makVrv::DtIndirectCullProgramCache:
Inheritance graph
[legend]

Public Member Functions

virtual ~DtIndirectCullProgramCache ()
 
 DtIndirectCullProgramCache ()=delete
 
DtIndirectCullProgramCacheoperator= (const DtIndirectCullProgramCache &rhs)=delete
 
 DtIndirectCullProgramCache (const DtIndirectCullProgramCache &rhs)=delete
 
virtual DtIndirectCullProgramgetOrCreate (bool &created, const DtCullShaderConfig &cullShaderConfig)
 
virtual DtIndirectCullProgramremoveEntry (const DtCullShaderConfig &cullShaderConfig)
 
- Public Member Functions inherited from makVrv::DtVirtualBaseClass
 DtVirtualBaseClass ()
 
virtual ~DtVirtualBaseClass ()
 

Static Public Member Functions

static DtIndirectCullProgramCacheinstance (DtDe &de)
 

Protected Member Functions

 DtIndirectCullProgramCache (DtDe &de)
 

Static Protected Member Functions

static void registerInstance (DtIndirectCullProgramCache *manager, DtDe &de)
 

Protected Attributes

DtDemyDe
 
std::unordered_map
< DtCullShaderConfig::KeyType,
DtIndirectCullProgram * > 
myHashToIndirectCullProgram
 

Static Protected Attributes

static const std::string theClassName
 

Constructor & Destructor Documentation

virtual makVrv::DtIndirectCullProgramCache::~DtIndirectCullProgramCache ( )
virtual

destructor

makVrv::DtIndirectCullProgramCache::DtIndirectCullProgramCache ( )
delete

not allowed

makVrv::DtIndirectCullProgramCache::DtIndirectCullProgramCache ( const DtIndirectCullProgramCache rhs)
delete

not allowed

makVrv::DtIndirectCullProgramCache::DtIndirectCullProgramCache ( DtDe de)
protected

cannot create directly

Member Function Documentation

static DtIndirectCullProgramCache& makVrv::DtIndirectCullProgramCache::instance ( DtDe de)
static

Access the singleton instance.

DtIndirectCullProgramCache& makVrv::DtIndirectCullProgramCache::operator= ( const DtIndirectCullProgramCache rhs)
delete

not allowed

static void makVrv::DtIndirectCullProgramCache::registerInstance ( DtIndirectCullProgramCache manager,
DtDe de 
)
staticprotected

register the manager

virtual DtIndirectCullProgram* makVrv::DtIndirectCullProgramCache::getOrCreate ( bool created,
const DtCullShaderConfig cullShaderConfig 
)
virtual

Get or create one with the given config If one was created, created will be true.

virtual DtIndirectCullProgram* makVrv::DtIndirectCullProgramCache::removeEntry ( const DtCullShaderConfig cullShaderConfig)
virtual

Member Data Documentation

DtDe& makVrv::DtIndirectCullProgramCache::myDe
protected
const std::string makVrv::DtIndirectCullProgramCache::theClassName
staticprotected
std::unordered_map< DtCullShaderConfig::KeyType, DtIndirectCullProgram* > makVrv::DtIndirectCullProgramCache::myHashToIndirectCullProgram
protected

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

Document ID: Generated on Wed Mar 27 22:49:11 EDT 2024 from SVN revision 264633
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)