CreateRuntimeTextureFromImage — RedM Natives
0x786D8BC3 · CFX · client
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
long