Interface ITextureFactory
A factory for creating textures.
Namespace: AGS.API
Assembly: AGS.API.dll
Syntax
public interface ITextureFactory
Methods
| Improve this Doc View SourceCreateTexture(String)
Creates the texture from the identifier (or returns an empty texture if the id is null).
Declaration
ITexture CreateTexture(string id)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | id | The texture id (path in the file system, for example). |
Returns
| Type | Description |
|---|---|
| ITexture | The texture. |