Version: 2021.2
言語: 日本語

XRDisplaySubsystem.GetSharedDepthTextureForRenderPass

マニュアルに切り替える
public RenderTexture GetSharedDepthTextureForRenderPass (int renderPass);

パラメーター

renderPass The render pass index to get the shared depth buffer render texture for.

戻り値

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

説明

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