Skip to main content

Texture2D.GetNativeTexturePtr()

Retrieve a native (underlying graphics API) pointer to the Texture resource.

Returns:

typeDescription
IntPtrPointer to an underlying graphics API Texture resource.

Usage

---@type Texture2D
local texture2d;


local val0 = texture2d.GetNativeTexturePtr()