| static void makVrv::DtOsgTextureUtils::processTexture |
( |
osg::Texture & |
texture, |
|
|
const osg::Image * |
image, |
|
|
bool |
unloadImageDataFlag, |
|
|
bool |
compressTextures, |
|
|
const std::string & |
filePath |
|
) |
| |
|
static |
set up the texture based on the image -loads the image from file into the texture -set up the load image on demand callbacks on the texture (taking compression into account) -set up the unref flags
| static osg::Texture* makVrv::DtOsgTextureUtils::createTexture |
( |
osg::Image * |
image | ) |
|
|
static |
Creates a texture from an osg::Image. If the image has one layer (r==1) the method creates an osg::Texture2D. If the image has more than one layer (r>1) the method creates an osg::Texture2DArray.
| 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: