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

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.