CreateRuntimeTextureFromImage
Docslocal retval = CreateRuntimeTextureFromImage(txd, txn, fileName)Description
Creates a runtime texture from the specified file in the current resource or a base64 data URL.
Parameters
| Name | Type | Description |
|---|---|---|
txd | long | A handle to the runtime TXD to create the runtime texture in. |
txn | char* | The name for the texture in the runtime texture dictionary. |
fileName | char* | The file name of an image to load or a base64 data URL. This should preferably be a PNG, and has to be specified as a `file` in the resource manifest. |
Returns
longReturns a 64-bit integer value.