ドキュメント

Unity Engine

Unity Engine

SetRenderPassData(int, NativeArray<AttachmentDescriptor>, NativeArray<SubPassDescriptor>, int, int, int)

Sets the relevant graphics state fields according to the provided render pass data.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

public void SetRenderPassData(int samples, NativeArray<AttachmentDescriptor> attachments, NativeArray<SubPassDescriptor> subPasses, int subPassIndex = 0, int depthAttachmentIndex = -1, int shadingRateIndex = -1)

Parameters

samples


Array of color attachments used in this rendering configuration.

Array containing information of each subpass.

subPassIndex

Index of the active subpass in this rendering configuration.

depthAttachmentIndex

The index of the attachment to be used as the depth/stencil buffer for this rendering configuration.

shadingRateIndex

Index of attachment used as shading rate image.