Native referenceFiveMclient

CREATE_RUNTIME_TEXTURE_FROM_IMAGE

0x786D8BC3 CFX
FUNCTION SIGNATURE
long CREATE_RUNTIME_TEXTURE_FROM_IMAGE(long txd, char* txn, char* fileName);
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 a file in the resource manifest.
Back to CFX