![]() |
VR-Forces 5.0.2 Developer's Guide
|
Entities use this modified version of DtIndirectLimitTextureStrategy with a proportional limit of DtDeInitializer::limitEntityTextures() See DtStealthCommandLineProcessor::limitEntityTexturesArg or DtVantageIgCommandLineProcessor::limitEntityTexturesArg for details If proportional limiting is false ( DtDeInitializer::limitEntityTexturesProportional()==false), this class behaves exactly like the base class.

Public Attributes | |
| friend | DtIndirectEntityLimitTextureStrategyCreator |
Public Attributes inherited from makVrv::DtIndirectLimitTextureStrategy | |
| friend | DtIndirectLimitTextureStrategyCreator |
Protected Member Functions | |
| DtIndirectEntityLimitTextureStrategy (DtDe &de) | |
Protected Member Functions inherited from makVrv::DtIndirectLimitTextureStrategy | |
| DtIndirectLimitTextureStrategy (DtDe &de, const DtVector2< int > &limitTexturesResolution) | |
| virtual DtIndirectTextureLimitAdjustedMipMap | adjustStartMipMapLevel (const osg::ref_ptr< osg::Image > &osgImage, const DtVector2< int > &limit) const |
Protected Attributes | |
| const DtIndirectGeometryRegistrar * | myRegistrar |
| const bool | myVrfDebugTextureLimits |
Protected Attributes inherited from makVrv::DtIndirectLimitTextureStrategy | |
| DtDe & | myDe |
| const DtVector2< int > | myLimitTexturesResolution |
| std::unordered_set< std::string > | myExcludedTextureFiles |
|
virtual |
constructor
|
delete |
not allowed
|
delete |
not allowed
|
protected |
constructor. only creator can created
|
delete |
not allowed
|
overridevirtual |
osgImage is the incoming image to limit Returns the mipmap details of where the image should be started to read from, such that the resulting texture is adjusted to this limit, per the limitation strategy In other words, the texture is proportionally clamped to myLimitTexturesResolution
Reimplemented from makVrv::DtIndirectLimitTextureStrategy.
|
virtual |
set the registrar. This allows to look into what textures a given model has
|
overridevirtual |
whether needs max texture computation for each model (used in the aggregator) by default is false. only true for entity strategies
Reimplemented from makVrv::DtIndirectLimitTextureStrategy.
| friend makVrv::DtIndirectEntityLimitTextureStrategy::DtIndirectEntityLimitTextureStrategyCreator |
only creator can create
|
protected |
|
protected |