![]() |
VR-Forces Developer's Guide
|
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)

Public Member Functions | |
| virtual | ~DtIndirectCullProgramCache () |
| DtIndirectCullProgramCache ()=delete | |
| DtIndirectCullProgramCache & | operator= (const DtIndirectCullProgramCache &rhs)=delete |
| DtIndirectCullProgramCache (const DtIndirectCullProgramCache &rhs)=delete | |
| virtual DtIndirectCullProgram * | getOrCreate (bool &created, const DtCullShaderConfig &cullShaderConfig) |
| virtual DtIndirectCullProgram * | removeEntry (const DtCullShaderConfig &cullShaderConfig) |
Public Member Functions inherited from makVrv::DtVirtualBaseClass | |
| DtVirtualBaseClass () | |
| virtual | ~DtVirtualBaseClass () |
Static Public Member Functions | |
| static DtIndirectCullProgramCache & | instance (DtDe &de) |
Protected Member Functions | |
| DtIndirectCullProgramCache (DtDe &de) | |
Static Protected Member Functions | |
| static void | registerInstance (DtIndirectCullProgramCache *manager, DtDe &de) |
Protected Attributes | |
| DtDe & | myDe |
| std::unordered_map < DtCullShaderConfig::KeyType, DtIndirectCullProgram * > | myHashToIndirectCullProgram |
Static Protected Attributes | |
| static const std::string | theClassName |
|
virtual |
destructor
|
delete |
not allowed
|
delete |
not allowed
|
protected |
cannot create directly
|
static |
Access the singleton instance.
|
delete |
not allowed
|
staticprotected |
register the manager
|
virtual |
Get or create one with the given config If one was created, created will be true.
|
virtual |
|
protected |
|
staticprotected |
|
protected |