Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


SubPassFlags

Flags to indicate specialized native subpass behaviour.
Read time 1 minuteLast updated 6 days ago

Definition

[Flags]public enum SubPassFlags

Fields

Value

Description

MultiviewRenderRegionsCompatibleThis sub pass is compatible with Multiview Render Regions.
NoneDefault flags.
ReadOnlyDepthThe depth attachment is read-only in this sub pass. Some renderers require this in order to be able to use the depth attachment as input.
ReadOnlyDepthStencilThe stencil attachment is read-only in this sub pass. Some renderers require this in order to be able to use the stencil attachment as input.
ReadOnlyStencilBoth depth and stencil attachments are read-only in this sub pass. Some renderers require this in order to be able to use the depth and stencil attachments as inputs.
TilePropertiesFrame buffer tile properties of this sub pass could potentially be used for performance gains on some platforms.
UseShadingRateImageThis sub pass has a shading rate image attachment.