struct in UnityEngine.Renderingマニュアルに切り替える
Describes a render target with one or more color buffers, a depth/stencil buffer and the associated load/store-actions that are applied when the render target is active.
This data structure is similiar to RenderTargetSetup, but relies on a RenderTargetIdentifier to ensure compatability with CommandBuffer.SetRenderTarget.
To render to a specific mip-level, cubemap face or depth slice the RenderTargetIdentifier should be created accordingly.
Note: the number of load- and store-actions specified for color buffers must be equal to the number of color buffers.
|colorLoadActions||Load actions for color buffers.|
|colorRenderTargets||Color buffers to use as render targets.|
|colorStoreActions||Store actions for color buffers.|
|depthLoadAction||Load action for the depth/stencil buffer.|
|depthRenderTarget||Depth/stencil buffer to use as render target.|
|depthStoreAction||Store action for the depth/stencil buffer.|