![]() |
VR-Forces 4.6.1 Class Documentation
|
class to hold osg Textures (diffuse map texture + effect textures) More...
Public Member Functions | |
| DtIndirectGeometryTextures (const DtIndirectGeometryTexturesPointers &rawPointers) | |
| constructor | |
| virtual | ~DtIndirectGeometryTextures () |
| destructor | |
| virtual bool | hasDiffuseTexture (void) const |
| is the diffuse texture valid (the ref_ptr not zero) | |
| virtual bool | hasTexture (int type) const |
| is the effect texture valid (the ref_ptr not zero) | |
| virtual osg::ref_ptr < osg::Texture > | diffuseTexture (void) const |
| access the diffuse texture | |
| virtual int | diffuseTextureUnit () const |
| 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 | |
| virtual osg::ref_ptr < osg::Texture > | textureForType (int type) const |
| access texture, given the type | |
| virtual osg::ref_ptr < osg::Texture > | textureForIndex (int index) const |
| access texture, given the index | |
| virtual int | textureUnitForIndex (int index) const |
| 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 | |
| virtual const DtIndirectEffectTexturesTemplate * | effectTexturesTemplate (void) const |
| access the template | |
Protected Types | |
| typedef std::vector < osg::ref_ptr< osg::Texture > > | VectorTextures |
| typedef std::vector< unsigned int > | VectorTextureUnits |
Protected Attributes | |
| const DtIndirectEffectTexturesTemplate * | myEffectTexturesTemplate |
| osg::ref_ptr< osg::Texture > | myDiffuseTexture |
| int | myDiffuseTextureUnit |
| VectorTextures | myVectorTextures |
| VectorTextureUnits | myVectorTextureUnits |
class to hold osg Textures (diffuse map texture + effect textures)
|
protected |
|
protected |
| makVrv::DtIndirectGeometryTextures::DtIndirectGeometryTextures | ( | const DtIndirectGeometryTexturesPointers & | rawPointers | ) |
constructor
|
virtual |
destructor
|
virtual |
is the diffuse texture valid (the ref_ptr not zero)
is the effect texture valid (the ref_ptr not zero)
|
virtual |
access the diffuse texture
|
virtual |
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
|
virtual |
access texture, given the type
|
virtual |
access texture, given the index
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
|
virtual |
access the template
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |