#include <psdimage.h>
The PsdImageLoader class. Implements loading PSD (Photoshop) image files.
const char* Description |
( |
| ) |
|
|
inlinevirtual |
- Returns
- A description string used for informational display by the plugin GUI
Implements Plugin.
const char* FilterDescription |
( |
| ) |
|
|
inlinevirtual |
- Returns
- A filter string description that is used by the windows FileBrowser to build the list of files to display in the browser
Implements TextureLoader.
const char* FilterString |
( |
| ) |
|
|
inlinevirtual |
- Returns
- A filter string that is used by the windows FileBrowser to build the list of files to display in the browser
Implements TextureLoader.
const char* GenerateDeclaration |
( |
| ) |
|
|
inlinevirtual |
- Returns
- The string to be generated to generate an instance of this object
Implements TextureLoader.
const char* GenerateHeader |
( |
| ) |
|
|
inlinevirtual |
- Returns
- The name of the header file to include when generating code for this plugin
Implements TextureLoader.
bool IsFileType |
( |
const char * |
filename | ) |
|
|
virtual |
- Returns
- TRUE if the file pointer appears to contain an image that can be loaded by this class. This method must close the file if it returns TRUE. It must rewind the file if it returns FALSE
Implements TextureLoader.
Load the specified texture file. Try all loaders to see if any of them support the given file type.
- Parameters
-
filename | The file to load the image from |
options | Options to load the image with |
allowNPOT | If the image is allowed to be non-power of two (NPOT) |
- Returns
- NULL if the file type isn't supported or if loading fails
Implements TextureLoader.
bool SupportsExtension |
( |
const char * |
ext | ) |
|
|
virtual |
- Returns
- TRUE if the class can load files with the given extension.
Implements TextureLoader.
- Returns
- A version string used for informational display by the plugin GUI
Implements Plugin.
The documentation for this class was generated from the following file: