Texture2D.LoadRawTextureData(IntPtr data, number size)
Sets the raw data of an entire texture in CPU memory.
Parameters:
Name | Type | Description |
---|---|---|
data | IntPtr | In hardware reference of data to load. |
size | number | The size of the data in bytes. |
Usage
---@type Texture2D
local texture2d;
---@type IntPtr
local data;
---@type number
local size;
texture2d.LoadRawTextureData(data, size)