FileReader::MatchFormat

FileReader::MatchFormat
virtual bool MatchFormat(File* file, UByte* header, UPInt headerSize) const;
Description

MatchFormat detects whether the file data in the provided header, or beginning at the current location of File pointer, matches the DDS image format.

Parameters
Parameters 
Description 
File* file 
Pointer to the File which is verified. 
UByte* header 
The header tag of the file. 
UPInt headerSize 
The size of the buffer which contains the image header data. 
Return Value

A Boolean value of true if the image file is of DDS image format and false otherwise.