Creates new Texture texture from the resource resource.
Namespace:
SGP.XSpaceAssembly: SGPRTL (in SGPRTL.dll)
Version: 1.2.3019.18825
Syntax
| C# |
|---|
[EditorBrowsableAttribute(EditorBrowsableState.Advanced)] public static Texture CreateTexture( IXResourceLocation resource ) |
Parameters
- resource
- Type: SGP.XUtility..::.IXResourceLocation
The IXResourceLocation source defining the mesh location.
Return Value
Created Texture texture.
Exceptions
| Exception | Condition |
|---|---|
| System..::.ArgumentNullException | resource is nullNothingnullptra null reference (Nothing in Visual Basic). |