XRDisplaySubsystem.GetRenderTextureForRenderPass

Switch to Manual
public RenderTexture GetRenderTextureForRenderPass (int renderPass);

Parameters

renderPassThe render pass index to get the render texture for.

Returns

RenderTexture The render texture associated with that render pass, or null if not found.

Description

Given a render pass, return the RenderTexture instance backing that render pass. If the render pass is invalid, or if the render texture does not exist, return null.