| Property | Value |
|---|---|
| Native Name | CREATE_RUNTIME_TEXTURE_FROM_IMAGE |
| Hash | 0x786D8BC3 |
| Return Type | long |
| API Set | client |
| Parameters | txd (long), txn (char*), fileName (char*) |
Description: Creates a runtime texture from the specified file in the current resource or a base64 data URL.
Parameters
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 afilein the resource manifest.