Skip to content

CreateRuntimeTextureFromImage ​

клиент CREATE_RUNTIME_TEXTURE_FROM_IMAGE

c
long CREATE_RUNTIME_TEXTURE_FROM_IMAGE(long txd, char* txn, char* fileName);

Creates a runtime texture from the specified file in the current resource or a base64 data URL.

Параметры ​

  • txd: A handle to the runtime TXD to create the runtime texture in.
  • txn: The name for the texture in the runtime texture dictionary.
  • fileName: 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.

Возвращает ​

A runtime texture handle.


Страница собрана автоматически из native-decls/CreateRuntimeTextureFromImage.md. Нашли ошибку — поправьте исходный файл.

Независимый проект на базе Cfx.re. Не связан с Rockstar Games и Take-Two Interactive.