#include <RmPlugIn.h>
Inheritance diagram for IRmTextureLoaderPlugIn:

Public Member Functions | |
| virtual void | GetSupportedExtensions (RmTextureType textureType, RmLinkedList< RmStringT > &formatDescriptions, RmLinkedList< RmStringT > &formatExtensions)=0 |
| virtual bool | CanLoadTexture (RmTextureType textureType, const RM_TCHAR *strFileName)=0 |
| virtual bool | LoadTexture (const RM_TCHAR *strFileName, RmTexture *pTexture, RmPixelFormatType format=RM_PIXELFORMAT_UNKNOWN)=0 |
This plug-in type is used by the main application to import Texture data from a supported file format into RenderMonkey model data node. The plug-in must use RM_PLUGINTYPE_Texture_LOADER in its plug-in data description structure.
|
||||||||||||
|
This method lets the main application know whether the plug-in that implements the Texture loader interface can load a specified file described by the given file name.
|
|
||||||||||||||||
|
This method is used to query a Texture loader plug-in about the file types that it supports for importing Textures. The file types are identified by their extensions, returned in a list 'formatExtensions'. The 'formatDescriptions' list is used to store descriptions of the supported file formats. For example, if a plug-in implementing this interface supports importing 3DStudioMax Texture, it would report ".BMP" in its list of extentions and "3DS StudioMax Texture file" in its list of file format descriptions list. The format descriptions are going to be displayed in the FileOpen dialog when the model data will be loaded by using this Texture plug-in. Note: the number of entries for format extensions and descriptions must match.
|
|
||||||||||||||||
|
Load Texture from the given file described by the specified file name
|
1.3.6