XRDisplaySubsystem.GetRenderTexture

Declaration

public RenderTexture GetRenderTexture(uint unityXrRenderTextureId);

Parameters

unityXrRenderTextureId The ID number identifying the render texture.

Returns

RenderTexture The managed UnityEngine.RenderTexture instance associated with the UnityXRRenderTextureID.

Description

Given the UnityXRRenderTextureID returned by IUnityXRDisplayInterface::CreateTexture, return the managed UnityEngine.RenderTexture instance.


Did you find this page useful? Please give it a rating: