Method | Description | |
---|---|---|
CanLoadTexture ( string path ) : bool |
Checks whether the plugin can load the specified texture.
|
|
Load ( Hosts host ) : void |
Called when the plugin is loaded.
|
|
LoadTexture ( string path, |
Loads the specified texture.
|
|
QueryTextureDimensions ( string path, int &width, int &height ) : bool |
Queries the dimensions of a texture.
|
|
Unload ( ) : void |
Called when the plugin is unloaded.
|
public abstract CanLoadTexture ( string path ) : bool | ||
path | string | The path to the file or folder that contains the texture. |
return | bool |
public Load ( Hosts host ) : void | ||
host | Hosts | The host that loaded the plugin. |
return | void |
public abstract LoadTexture ( string path, |
||
path | string | The path to the file or folder that contains the texture. |
texture | Receives the texture. | |
return | bool |
public abstract QueryTextureDimensions ( string path, int &width, int &height ) : bool | ||
path | string | The path to the file or folder that contains the texture. |
width | int | Receives the width of the texture. |
height | int | Receives the height of the texture. |
return | bool |