Method Open
Open(NativeSlice<byte>)
Loads a texture from memory. Part of the low-level API that provides finer control over the loading process.
Declaration
public override ErrorCode Open(NativeSlice<byte> data)
Parameters
| Type | Name | Description |
|---|---|---|
| NativeSlice<byte> | data | Input texture data |
Returns
| Type | Description |
|---|---|
| ErrorCode | Success if loading was successful or an error specific code otherwise. |
Overrides
See Also
Dispose()