![]() |
VR-Forces Developer's Guide
|
singleton class that wraps indirect lod gpu shader.

Public Member Functions | |
| virtual | ~DtIndirectLodProgram () |
| virtual void | runProcessLodsComputeShader (const DtIndirectViewParameters &viewParameters, unsigned int maxNumInstances) |
| virtual void | deleteShaders () |
| virtual void | incrementNumUsers () |
| virtual void | decrementNumUsers () |
Public Member Functions inherited from makVrv::DtVirtualBaseClass | |
| DtVirtualBaseClass () | |
| virtual | ~DtVirtualBaseClass () |
Static Public Member Functions | |
| static DtIndirectLodProgram * | instance (DtDe &de) |
Protected Member Functions | |
| DtIndirectLodProgram (DtDe &de) | |
| virtual void | initializeShadersIfNecessary () |
Protected Attributes | |
| DtGlProgram * | myLodProgram |
| DtVector3< int > | myWorkGroupLocalSize |
| std::atomic< int > | myNumUsers |
| DtDe & | myDe |
| DtIndirectLodProgramConstants | myProgramConstants |
| DtGlBuffer * | myGpuShaderUbo |
| int | myGpuShaderUboBinding |
| bool | myMutableShadersFailedToCompile |
Private Member Functions | |
| DtIndirectLodProgram ()=delete | |
| DtIndirectLodProgram (const DtIndirectLodProgram &)=delete | |
| DtIndirectLodProgram & | operator= (const DtIndirectLodProgram &)=delete |
|
virtual |
dtor
|
protected |
ctor
|
privatedelete |
not allowed
|
privatedelete |
not allowed
|
static |
singleton access to lod manager program
|
privatedelete |
not allowed
|
virtual |
run the lod compute shader
|
virtual |
cleanup the gpu shaders
|
virtual |
ref counting tracking
|
virtual |
ref counting tracking
|
protectedvirtual |
create the compute shader if they are not yet created or after reload shaders is called
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
mutableprotected |
indicate whether we have failed to compile