VR-Forces 4.6 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Attributes
makVrv::DtIndirectGeometryTexturesPointers Class Reference

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

Detailed Description

class to hold raw texture pointers (diffuse texture + effect textures)

Constructor & Destructor Documentation

makVrv::DtIndirectGeometryTexturesPointers::DtIndirectGeometryTexturesPointers ( const DtIndirectEffectTexturesTemplate effectTexturesTemplate)

constructor takes in the model filename so we can print out usefull warning messages.

virtual makVrv::DtIndirectGeometryTexturesPointers::~DtIndirectGeometryTexturesPointers ( )
virtual

destructor

Member Function Documentation

virtual void makVrv::DtIndirectGeometryTexturesPointers::assignDiffuseTexture ( osg::Texture *  texture)
virtual

set the diffuse texture pointer

virtual void makVrv::DtIndirectGeometryTexturesPointers::assignDiffuseTextureUnit ( unsigned int  unit)
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 void makVrv::DtIndirectGeometryTexturesPointers::assign ( int  type,
osg::Texture *  texture 
)
virtual

set the texture pointer for type

virtual void makVrv::DtIndirectGeometryTexturesPointers::assignUnit ( int  type,
unsigned int  unit 
)
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 void makVrv::DtIndirectGeometryTexturesPointers::copy ( VectorTextures textures) const
virtual

copy our pointers into the vector of osg textures

virtual void makVrv::DtIndirectGeometryTexturesPointers::copyUnits ( VectorTextureUnits textureUnits) const
virtual

copy the texture unit values to the input vector

virtual const DtIndirectEffectTexturesTemplate* makVrv::DtIndirectGeometryTexturesPointers::effectTexturesTemplate ( void  ) const
virtual

access the template

virtual osg::Texture* makVrv::DtIndirectGeometryTexturesPointers::diffuseTexture ( void  ) const
virtual

access the diffuse texture

virtual unsigned int makVrv::DtIndirectGeometryTexturesPointers::diffuseTextureUnit ( void  ) const
virtual

access the unit to use with this diffuse texture

virtual void makVrv::DtIndirectGeometryTexturesPointers::printEffectTextureDetails ( bool  allTextures,
bool  fullPath 
)
virtual

debugging allTextures=true will print diffuse map + effect textures allTextures=false will print diffuse map

virtual void makVrv::DtIndirectGeometryTexturesPointers::assignConfigurableEffectSuffixes ( const std::vector< std::string > &  suffixes)
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.

Member Data Documentation

const DtIndirectEffectTexturesTemplate* makVrv::DtIndirectGeometryTexturesPointers::myEffectTexturesTemplate
protected
osg::Texture* makVrv::DtIndirectGeometryTexturesPointers::myDiffuseTexture
protected
unsigned int makVrv::DtIndirectGeometryTexturesPointers::myDiffuseTextureUnit
protected
VectorTexturePointers makVrv::DtIndirectGeometryTexturesPointers::myVectorTexturePointers
protected
VectorTextureUnits makVrv::DtIndirectGeometryTexturesPointers::myVectorTextureUnits
protected
std::vector<std::string> makVrv::DtIndirectGeometryTexturesPointers::myConfigurableEffectSuffixes
protected

The documentation for this class was generated from the following file:

Document ID: Generated on Thu Apr 12 03:15:37 EDT 2018 from SVN revision 187986
Copyright © 2005-2018 VT MÄK. All Rights Reserved (www.mak.com)