![]() |
VR-Forces 4.8 Class Documentation
|
singleton class that wraps indirect lod gpu shader. More...

Public Member Functions | |
| DtIndirectLodProgram () | |
| virtual | ~DtIndirectLodProgram () |
| virtual void | initializeShadersIfNecessary (const DtOsgShaderFilesCache *shaderFilesCache, const std::string &shaderFolderPath) |
| create the compute shader if they are not yet created or after reload shaders is called More... | |
| virtual void | runProcessLodsComputeShader (const DtIndirectViewParameters &viewParameters, unsigned int maxNumInstances, float transition_percentage) |
| run the lod compute shader More... | |
| virtual void | deleteShaders () |
| cleanup the gpu shaders More... | |
| virtual void | incrementNumUsers () |
| refcounting tracking More... | |
| virtual void | decrementNumUsers () |
| refcounting tracking More... | |
Public Member Functions inherited from makVrv::DtVirtualBaseClass | |
| DtVirtualBaseClass () | |
| Do nothing constructor. More... | |
| virtual | ~DtVirtualBaseClass () |
| Virtual do nothing destructor. More... | |
Static Public Member Functions | |
| static DtIndirectLodProgram * | instance (DtDe &de) |
| singleton access to lod manager program More... | |
Protected Attributes | |
| GLuint | myLodProgramID |
| GLuint | myLodShaderID |
| int | myMaxNumInstancesIndex |
| int | myModelViewMatrixIndex |
| int | myZoomMagnificationIndex |
| int | myDistScaleIndex |
| int | myLodTransitionPercentageIndex |
| DtVector3< int > | myWorkGroupLocalSize |
| tbb::atomic< int > | myNumUsers |
singleton class that wraps indirect lod gpu shader.
| makVrv::DtIndirectLodProgram::DtIndirectLodProgram | ( | ) |
|
virtual |
|
static |
singleton access to lod manager program
|
virtual |
create the compute shader if they are not yet created or after reload shaders is called
|
virtual |
run the lod compute shader
|
virtual |
cleanup the gpu shaders
|
virtual |
refcounting tracking
|
virtual |
refcounting tracking
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |