Api > Texture > GetNativeTexturePtr()
Texture.GetNativeTexturePtr()⚓︎
Retrieve a native (underlying graphics API) pointer to the Texture resource.
Returns:⚓︎
type | Description |
---|---|
IntPtr | Pointer to an underlying graphics API Texture resource. |
Usage⚓︎
---@type Texture
local texture;
local val0 = texture.GetNativeTexturePtr()