![]() |
VR-Forces Developer's Guide
|
handles the running of the compute shader pass for indirect culling, LODing and switches
Classes | |
| struct | TotalCounter |
Public Member Functions | |
| virtual | ~DtIndirectCullProgram () |
| DtIndirectCullProgram ()=delete | |
| DtIndirectCullProgram (const DtIndirectCullProgram &other)=delete | |
| DtIndirectCullProgram & | operator= (const DtIndirectCullProgram &other)=delete |
| virtual void | incrementNumUsers () |
| virtual void | decrementNumUsers () |
| virtual void | execute (const DtIndirectViewParameters &viewParameters, const DtGpuCulling &gpuCulling, const osg::FrameStamp *frameStamp, const int lightSourceStateId, const int geometrySpecificationsBufferSize, const uint64_t geomSpecIndexToCommandIndexAddress, const uint64_t gpuPerGeomInstancesAddress, const osg::Camera *camera) |
| virtual void | deleteShaders () |
Protected Member Functions | |
| DtIndirectCullProgram (DtDe &de, const DtCullShaderConfig &cullShaderConfig) | |
| virtual void | initializeIfNecessary (void) |
Protected Attributes | |
| friend | DtIndirectCullProgramCreator |
| DtGlProgram * | myCullProgram |
| DtIndirectCullProgramConstants * | myProgramConstants |
| DtGlBuffer * | myGpuShaderUbo |
| int | myGpuShaderUboBinding |
| bool | myMutableShadersFailedToCompile |
| double | myStartTime |
| float | myLastTimeFrame |
| const DtCullShaderConfig | myCullShaderConfig |
| DtVector3< int > | myWorkGroupLocalSize |
| DtDe & | myDe |
| const DtIndirectRunTimeSettings & | myIndirectRunTimeSettings |
| DtSkyObjectManager & | mySkyObjectManager |
| std::atomic< int > | myNumUsers |
Static Protected Attributes | |
| static const bool | theDebugInstancesAppended |
| static const bool | myTrackObjects |
| static TotalCounter | theTotalCounter |
|
protected |
Constructor.
|
virtual |
|
delete |
Default Constructor not implemented – Must use DtDe constructor.
|
delete |
Copy Constructor not implemented – Copy Not Allowed.
|
delete |
Assignment Operator Not implemented – Assignment Not Allowed.
|
virtual |
ref counting tracking
|
virtual |
ref counting tracking
|
virtual |
run the compute shader pass
|
virtual |
cleanup the gpu shaders
|
protectedvirtual |
initialize the compute shader state if needed
|
protected |
|
protected |
The program.
|
protected |
the constants associated with the cull program
|
protected |
buffer for the UBO of the cull program
|
protected |
buffer binding for the UBO of the cull program
|
mutableprotected |
indicate whether we have failed to compile
|
mutableprotected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
staticprotected |
|
protected |
|
staticprotected |
|
staticprotected |