![]() |
VR-Forces Developer's Guide
|
This class represents the list of DtIndirectTexturePrototypes belonging to a particular sub-geometry.
A model is made up of one or more sub-geometries.
Each of these have a set of texture prototypes associated with it.
These texture prototypes are the diffuse and effect textures used to render these sub-geometries.
These texture prototypes (represented by DtIndirectTexturePrototypes) can be shared by multiple sub-geometries in the same model and also across models.
DtIndirectTexturePrototypes are handled by DtIndirectTexturePrototypeManager
Objects of this class hold these pointers (representing unique texture templates/prototypes across the system)
Public Types | |
| enum | IndirectTextureBlendModesSupported { Blend = 0, Decal = 1 } |
| typedef std::vector< unsigned int > | VectorTextureUnits |
Protected Member Functions | |
| virtual const DtIndirectTexturePrototype * | textureForIndex (int index) const |
| virtual int | textureUnitForIndex (int index) const |
Protected Attributes | |
| const DtIndirectEffectTexturesTemplate * | myEffectTexturesTemplate = nullptr |
| const DtIndirectTexturePrototype * | myDiffuseTexture = nullptr |
| int | myDiffuseTextureUnit = 0 |
| unsigned int | myDiffuseTextureBlendMode = 0 |
| std::vector< const DtIndirectTexturePrototype * > | myEffectTextures |
| VectorTextureUnits | myEffectTextureUnits |
| std::vector< std::string > | myConfigurableEffectSuffixes |
| int | myTextureLimitStrategy = 0 |
| typedef std::vector<unsigned int> makVrv::DtIndirectGeometryTextures::VectorTextureUnits |
| makVrv::DtIndirectGeometryTextures::DtIndirectGeometryTextures | ( | ) |
| makVrv::DtIndirectGeometryTextures::DtIndirectGeometryTextures | ( | const DtIndirectGeometryTextures & | rhs | ) |
| makVrv::DtIndirectGeometryTextures::DtIndirectGeometryTextures | ( | const DtIndirectEffectTexturesTemplate * | effectTexturesTemplate, |
| int | textureLimitStrategy | ||
| ) |
Constructor.
|
virtual |
destructor
| DtIndirectGeometryTextures& makVrv::DtIndirectGeometryTextures::operator= | ( | const DtIndirectGeometryTextures & | rhs | ) |
|
virtual |
is the diffuse texture valid (the ref_ptr not zero)
is the effect texture of the specified type valid (the ref_ptr not zero)
|
virtual |
num effects textures
|
virtual |
access the diffuse texture
access the texture unit for this diffuse texture although there is no texture unit for reading the texture in bindless, we still need to know which texture coordinates to use
get the diffuse texture's blend mode (currently only blend and decal modes supported)
|
virtual |
access texture, given the type
access texture unit, given the type
|
virtual |
access the template
|
virtual |
set the diffuse texture for this particular set of textures
set the diffuse texture unit to use for this particular set of textures
|
virtual |
set the diffuse texture's blend mode (currently only blend and decal modes supported)
|
virtual |
set the effect texture for a particular effect texture type to use
|
virtual |
set the effect texture unit for a particular effect texture type
|
virtual |
set the configurable effect texture suffixes that are to be used by this set of textures
|
virtual |
get the configurable effect texture suffixes that are to be used by this set of textures
|
virtual |
get all the texture units to use for the effect textures
|
virtual |
flags
|
protectedvirtual |
access texture, given the index
|
protectedvirtual |
access the texture unit for the given effect texture index although there is no texture unit for reading the texture in bindless, we still need to know which texture coordinates to use
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |