![]() |
VR-Forces 4.6.1 Class Documentation
|
class to hold raw texture pointers (diffuse texture + effect textures) More...
Public Member Functions | |
| DtIndirectGeometryTexturesPointers (const DtIndirectEffectTexturesTemplate *effectTexturesTemplate) | |
| constructor takes in the model filename so we can print out usefull warning messages. | |
| virtual | ~DtIndirectGeometryTexturesPointers () |
| destructor | |
| virtual void | assignDiffuseTexture (osg::Texture *texture) |
| set the diffuse texture pointer | |
| virtual void | assignDiffuseTextureUnit (unsigned int unit) |
| set the unit to use 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 | |
| virtual void | assign (int type, osg::Texture *texture) |
| set the texture pointer for type | |
| virtual void | assignUnit (int type, unsigned int unit) |
| set the unit to use for this effect texture type although there is no texture unit for reading the texture in bindless, we still need to know which texture coordinates to use | |
| virtual void | copy (VectorTextures &textures) const |
| copy our pointers into the vector of osg textures | |
| virtual void | copyUnits (VectorTextureUnits &textureUnits) const |
| copy the texture unit values to the input vector | |
| virtual const DtIndirectEffectTexturesTemplate * | effectTexturesTemplate (void) const |
| access the template | |
| virtual osg::Texture * | diffuseTexture (void) const |
| access the diffuse texture | |
| virtual unsigned int | diffuseTextureUnit (void) const |
| access the unit to use with this diffuse texture | |
| virtual void | printEffectTextureDetails (bool allTextures, bool fullPath) |
| debugging allTextures=true will print diffuse map + effect textures allTextures=false will print diffuse map | |
| virtual void | assignConfigurableEffectSuffixes (const std::vector< std::string > &suffixes) |
| Set the list of suffixes for the configurable effect texture, if any. | |
| const std::vector< std::string > | suffixes (void) const |
| Get the list of suffixes for the configurable effect texture, if any. | |
Protected Attributes | |
| const DtIndirectEffectTexturesTemplate * | myEffectTexturesTemplate |
| osg::Texture * | myDiffuseTexture |
| unsigned int | myDiffuseTextureUnit |
| VectorTexturePointers | myVectorTexturePointers |
| VectorTextureUnits | myVectorTextureUnits |
| std::vector< std::string > | myConfigurableEffectSuffixes |
class to hold raw texture pointers (diffuse texture + effect textures)
| makVrv::DtIndirectGeometryTexturesPointers::DtIndirectGeometryTexturesPointers | ( | const DtIndirectEffectTexturesTemplate * | effectTexturesTemplate | ) |
constructor takes in the model filename so we can print out usefull warning messages.
|
virtual |
destructor
|
virtual |
set the diffuse texture pointer
|
virtual |
set the unit to use 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
|
virtual |
set the texture pointer for type
|
virtual |
set the unit to use for this effect texture type although there is no texture unit for reading the texture in bindless, we still need to know which texture coordinates to use
|
virtual |
copy our pointers into the vector of osg textures
|
virtual |
copy the texture unit values to the input vector
|
virtual |
access the template
|
virtual |
access the diffuse texture
|
virtual |
access the unit to use with this diffuse texture
|
virtual |
debugging allTextures=true will print diffuse map + effect textures allTextures=false will print diffuse map
|
virtual |
Set the list of suffixes for the configurable effect texture, if any.
| const std::vector<std::string> makVrv::DtIndirectGeometryTexturesPointers::suffixes | ( | void | ) | const |
Get the list of suffixes for the configurable effect texture, if any.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |