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