# LayerStack **命名空间**: `XCEngine::Core` **类型**: `class` **头文件**: `XCEngine/Core/LayerStack.h` **描述**: 定义 `XCEngine/Core` 子目录中的 `LayerStack` public API。 ## 概述 `LayerStack.h` 是 `XCEngine/Core` 子目录 下的 public header,当前页面作为平行目录中的 canonical 总览,用于汇总该头文件暴露的主要声明。 ## 声明概览 | 声明 | 类型 | 说明 | |------|------|------| | `LayerStack` | `class` | 头文件中的公开声明。 | ## 公共方法 | 方法 | 描述 | |------|------| | [LayerStack()](Constructor.md) | 构造对象。 | | [~LayerStack()](Destructor.md) | 销毁对象并释放相关资源。 | | [pushLayer](pushLayer.md) | 公开方法,详见头文件声明。 | | [pushOverlay](pushOverlay.md) | 公开方法,详见头文件声明。 | | [popLayer](popLayer.md) | 公开方法,详见头文件声明。 | | [popOverlay](popOverlay.md) | 公开方法,详见头文件声明。 | | [onUpdate](onUpdate.md) | 公开方法,详见头文件声明。 | | [onEvent](onEvent.md) | 公开方法,详见头文件声明。 | | [onImGuiRender](onImGuiRender.md) | 公开方法,详见头文件声明。 | | [onAttach](onAttach.md) | 公开方法,详见头文件声明。 | | [onDetach](onDetach.md) | 公开方法,详见头文件声明。 | | [begin](begin.md) | 公开方法,详见头文件声明。 | | [end](end.md) | 公开方法,详见头文件声明。 | | [rbegin](rbegin.md) | 公开方法,详见头文件声明。 | | [rend](rend.md) | 公开方法,详见头文件声明。 | | [cbegin](cbegin.md) | 公开方法,详见头文件声明。 | | [cend](cend.md) | 公开方法,详见头文件声明。 | | [crbegin](crbegin.md) | 公开方法,详见头文件声明。 | | [crend](crend.md) | 公开方法,详见头文件声明。 | ## 相关文档 - [当前目录](../Core.md) - 返回 `Core` 平行目录 - [API 总索引](../../../main.md) - 返回顶层索引