Open CASCADE Technology
7.5.0
|
Auxiliary tool for parsing DDS file structure (without decoding). More...
#include <Image_DDSParser.hxx>
Static Public Member Functions | |
static Handle< Image_CompressedPixMap > | Load (const Handle< Image_SupportedFormats > &theSupported, const TCollection_AsciiString &theFile, const Standard_Integer theFaceIndex, const int64_t theFileOffset=0) |
Load the face from DDS file. More... | |
static Handle< Image_CompressedPixMap > | Load (const Handle< Image_SupportedFormats > &theSupported, const Handle< NCollection_Buffer > &theBuffer, const Standard_Integer theFaceIndex) |
Load the face from DDS file. More... | |
Auxiliary tool for parsing DDS file structure (without decoding).
|
static |
Load the face from DDS file.
theSupported | [in] list of supported image formats |
theFile | [in] file path |
theFaceIndex | [in] face index, within [0, Image_CompressedPixMap::NbFaces()) range; use -1 to skip reading the face data |
theFileOffset | [in] offset to the DDS data |
|
static |
Load the face from DDS file.
theSupported | [in] list of supported image formats |
theBuffer | [in] pre-loaded file data, should be at least of 128 bytes long defining DDS header. |
theFaceIndex | [in] face index, within [0, Image_CompressedPixMap::NbFaces()) range; use -1 to skip reading the face data |