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