SetRenderPassData(int, NativeArray<AttachmentDescriptor>, NativeArray<SubPassDescriptor>, int, int, int)
Sets the relevant graphics state fields according to the provided render pass data.
Read time 1 minuteLast updated 5 days ago
Definition
- Type: Method
- Namespace: UnityEngine.Rendering
- Assembly: UnityEngine.CoreModule
public void SetRenderPassData(int samples, NativeArray<AttachmentDescriptor> attachments, NativeArray<SubPassDescriptor> subPasses, int subPassIndex = 0, int depthAttachmentIndex = -1, int shadingRateIndex = -1)
Parameters
Array of color attachments used in this rendering configuration.
Array containing information of each subpass.
Index of the active subpass in this rendering configuration.
The index of the attachment to be used as the depth/stencil buffer for this rendering configuration.
Index of attachment used as shading rate image.