![]() |
VR-Forces 5.0.1 Developer's Guide
|
Contains the per Model info which the indirect module needs It is owned by the Indirect geometry registrar.
Public Member Functions | |
| DtIndirectModelInfo (DtDe &de) | |
| virtual | ~DtIndirectModelInfo () |
| DtIndirectModelInfo (const DtIndirectModelInfo &)=delete | |
| DtIndirectModelInfo & | operator= (const DtIndirectModelInfo &)=delete |
| virtual void | unloadBuffers () |
| virtual bool | buffersLoaded () const |
| virtual void | texturesSet (std::map< osg::ref_ptr< osg::Texture >, int > &texturesSet) const |
| virtual int | addUser (const DtGpuCulling *user) |
| virtual int | removeUser (const DtGpuCulling *user) |
| virtual void | computeMaxTextureResolution (const DtIndirectLimitTextureStrategy &limitStrategy) |
Protected Member Functions | |
| virtual bool | isDefaultTexture (osg::ref_ptr< const osg::Texture > texture) const |
| makVrv::DtIndirectModelInfo::DtIndirectModelInfo | ( | DtDe & | de | ) |
constructor
|
virtual |
destructor
|
delete |
not allowed
|
delete |
not allowed
|
virtual |
unload the model information specifically, make gl buffers non-resident and add them to the delete manager
|
virtual |
are buffers loaded?
|
virtual |
get the set of textures (diffuse + effect textures) that this model refers to
|
virtual |
gpu culling is the only 'user' of the model info since it uses the bindless address of the buffers and textures of the model multiple gpu cullings (and hence indirect geometries) can refer to the same model info
|
virtual |
gpu culling is the only 'user' of the model info since it uses the bindless address of the buffers and textures of the model multiple gpu cullings (and hence indirect geometries) can refer to the same model info
|
virtual |
update the max texture resolution in x and y for all textures of a given model should be done when the model is finalized. Also, excludes the excluded textures from the max computation, per the specified strategy
|
protectedvirtual |
whether a texture is the default white texture
| std::string makVrv::DtIndirectModelInfo::myModelName |
the model name
| std::string makVrv::DtIndirectModelInfo::myModelDefName |
| int makVrv::DtIndirectModelInfo::myModelID |
the model id
| bool makVrv::DtIndirectModelInfo::myDownloaded |
is the model completely downloaded to the gpu
| DtGeometrySpecVector makVrv::DtIndirectModelInfo::myGeometrySpecifications |
the vector of all geometry specs
| std::vector<DtIndirectModelSubGeometry*> makVrv::DtIndirectModelInfo::myVectorModelSubGeometries |
the same size as the spec vector above 1 sub-geometry for each spec
| DtIndirectMaterialVector makVrv::DtIndirectModelInfo::myMaterials |
vector of the materials in this model
| VectorIndirectGeometryTexturesRefPtrs makVrv::DtIndirectModelInfo::myTextures |
vector of the textures in this model
| DtPerGeomInstances makVrv::DtIndirectModelInfo::myPerGeomInstancesTemplate |
vector of the per geom instances
| DtIndirectUvOffsetManager::AnnotationToUvOffsetMap makVrv::DtIndirectModelInfo::myAnnotationToUvOffsetIdMap |
annotation to uv offset map
| DtIndirectUvOffsetManager::ScrollableUvOffsetIdsAndMultipliers makVrv::DtIndirectModelInfo::myScrollableUvOffsetIdsAndMultipliers |
uv offset ids and multipliers
| DtIndirectSwitchManager::DequeNodeSwitchInfoPairsArray makVrv::DtIndirectModelInfo::mySwitchPaths |
switch paths
| DtIndirectLodManager::DequeIndirectLodInfoArray makVrv::DtIndirectModelInfo::myLodStacks |
lod paths
| DtIndirectDofManager::DequeNodeDofInfoPairs makVrv::DtIndirectModelInfo::myDofPaths |
| int makVrv::DtIndirectModelInfo::myNumLightSources |
the number of light sources
| std::unordered_set<const DtGpuCulling*> makVrv::DtIndirectModelInfo::myUsers |
| DtDe& makVrv::DtIndirectModelInfo::myDe |