文档

Unity Engine

Unity Engine

SubPassFlags

Flags to indicate specialized native subpass behaviour.
阅读时间1 分钟最后更新于 1 个月前

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.