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

Static Public Member Functions

static void processTexture (osg::Texture &texture, const osg::Image *img, bool unloadImageDataFlag, bool compressTextures, std::string filePath)
 Loads shader source code from a file.
static unsigned int GetTextureID (unsigned int contextID, osg::ref_ptr< osg::Texture > texture)
 Get the OpenGL handle of the texture.
static unsigned int GetTextureIDIfDownloaded (unsigned int contextID, osg::ref_ptr< osg::Texture > texture)
 Get the OpenGL handle of the texture if its ready for indirect.
static std::string getTextureFilePath (const osg::Texture *texture)
static std::string getTextureFileName (const osg::Texture *texture)

Member Function Documentation

static void makVrv::DtOsgTextureUtils::processTexture ( osg::Texture &  texture,
const osg::Image *  img,
bool  unloadImageDataFlag,
bool  compressTextures,
std::string  filePath 
)
static

Loads shader source code from a file.

static unsigned int makVrv::DtOsgTextureUtils::GetTextureID ( unsigned int  contextID,
osg::ref_ptr< osg::Texture >  texture 
)
static

Get the OpenGL handle of the texture.

static unsigned int makVrv::DtOsgTextureUtils::GetTextureIDIfDownloaded ( unsigned int  contextID,
osg::ref_ptr< osg::Texture >  texture 
)
static

Get the OpenGL handle of the texture if its ready for indirect.

static std::string makVrv::DtOsgTextureUtils::getTextureFilePath ( const osg::Texture *  texture)
static
static std::string makVrv::DtOsgTextureUtils::getTextureFileName ( const osg::Texture *  texture)
static

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

Document ID: Generated on Wed Jul 25 16:57:45 EDT 2018 from SVN revision 190790
Copyright © 2005-2018 VT MÄK. All Rights Reserved (www.mak.com)