Version: Unity 6 (6000.0)
LanguageEnglish
  • C#

XRDisplaySubsystem.GetRenderTexture

Declaration

public RenderTexture GetRenderTexture(uint unityXrRenderTextureId);

Parameters

Description
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.