VRV maintains its own texture prototypes: DtIndirectImagePrototype. This utility class fills up a DtIndirectImagePrototype, given an osg::Image.
| makVrv::DtOsgToIndirectTextureConverter::DtOsgToIndirectTextureConverter |
( |
DtDe & |
de | ) |
|
| virtual makVrv::DtOsgToIndirectTextureConverter::~DtOsgToIndirectTextureConverter |
( |
| ) |
|
|
virtual |
| makVrv::DtOsgToIndirectTextureConverter::DtOsgToIndirectTextureConverter |
( |
| ) |
|
|
privatedelete |
| virtual void makVrv::DtOsgToIndirectTextureConverter::copy |
( |
DtIndirectTexturePrototype * |
vrvTexture, |
|
|
const osg::Texture * |
srcOsgTexture, |
|
|
uint32_t |
flags |
|
) |
| const |
|
virtual |
fill specs of vrvTexture, given an osg::Texture
| virtual bool makVrv::DtOsgToIndirectTextureConverter::match |
( |
const DtIndirectTexturePrototype * |
vrvTexture, |
|
|
const osg::Texture * |
srcOsgTexture, |
|
|
uint32_t |
flags |
|
) |
| const |
|
virtual |
check if all the properties of a vrvTexture match with the srcOsgTexture This is used by the DtIndirectTexturePrototypeManager to check if a given prototype matches a previous and possibly different osg::Texture
| virtual std::string makVrv::DtOsgToIndirectTextureConverter::textureFileName |
( |
const osg::Texture * |
srcOsgTexture, |
|
|
uint32_t |
flags |
|
) |
| const |
|
virtual |
texture file name of the srcOsgTexture
| bool makVrv::DtOsgToIndirectTextureConverter::isAcceleratedPair |
( |
const std::string & |
textureFileName, |
|
|
const std::string & |
imageFileName |
|
) |
| const |
|
protected |
whether the texture file name and image file name are an accelerated file pair (extensions will not match)
| DtDe& makVrv::DtOsgToIndirectTextureConverter::myDe |
|
protected |
| DtIndirectLog& makVrv::DtOsgToIndirectTextureConverter::myIndirectLog |
|
protected |
The documentation for this class was generated from the following file: