GetRenderTextureForRenderPass(int)
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.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: UnityEngine.XR
- Assembly: UnityEngine.XRModule
public RenderTexture GetRenderTextureForRenderPass(int renderPass)
Parameters
The render pass index to get the render texture for.
Returns
Type | Description |
|---|---|
| RenderTexture | The render texture associated with that render pass, or null if not found. |