GL Studio C++ Runtime API
DDSImageLoader Class Reference

#include <ddsimage.h>

Inheritance diagram for DDSImageLoader:
TextureLoader Plugin

Public Member Functions

const char * FilterDescription (void)
 
const char * FilterString (void)
 
const char * Description (void)
 
const char * Version (void)
 
const char * GenerateHeader (void)
 
const char * GenerateDeclaration (void)
 
bool SupportsExtension (const char *ext)
 
bool IsFileType (const char *filename)
 
virtual ImageLoadTexture (const char *filename, const Image::LoadOptions &options, bool allowNPOT=true)
 
- Public Member Functions inherited from TextureLoader
virtual const char * PluginType ()
 
void AddToList (TextureLoaderList *list=TextureLoaderList::Instance())
 
- Public Member Functions inherited from Plugin
virtual ~Plugin ()
 For Polymorphic deletion.
 
virtual const char * PluginDataName ()
 
virtual void WritePluginData (DistiAttributePluginData *)
 
virtual void ReadPluginData (DistiAttributePluginData *)
 
virtual void ResetPluginData ()
 
bool IsPluginType (const char *str)
 

Detailed Description

The DDSImageLoader class. Implements loading DDS image files.

Member Function Documentation

const char* Description ( void  )
virtual
Returns
A description string used for informational display by the plugin GUI

Implements Plugin.

const char* FilterDescription ( void  )
virtual
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 ( void  )
virtual
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 ( void  )
virtual
Returns
The string to be generated to generate an instance of this object

Implements TextureLoader.

const char* GenerateHeader ( void  )
virtual
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.

virtual Image* LoadTexture ( const char *  filename,
const Image::LoadOptions options,
bool  allowNPOT = true 
)
virtual

See Image::LoadTexture

Implements TextureLoader.

bool SupportsExtension ( const char *  ext)
virtual
Returns
TRUE if the class can load files with the given extension.

Implements TextureLoader.

const char* Version ( void  )
virtual
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: