Version: 2019.4
public RenderTexture GetRenderTextureForRenderPass (int renderPass);

パラメーター

renderPassThe render pass index to get the render texture for.

戻り値

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

説明

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.