Unity Engine documentationScript ReferenceUnityEngineUnityEngine.RenderingGraphicsStateCollectionGraphicsStateCollection.GraphicsStatesubPassIndexIndex of the active subpass in this rendering configuration.阅读时间1 分钟最后更新于 1 个月前Definition Type: Field Namespace: UnityEngine.Rendering Assembly: UnityEngine.CoreModule public int subPassIndex Remarks See: CommandBuffer.BeginRenderPass, CommandBuffer.NextSubPass, GraphicsStateCollection.GraphicsState.SetRenderPassData.