31 lines
582 B
Markdown
31 lines
582 B
Markdown
|
|
# Profiler::EndFrame
|
||
|
|
|
||
|
|
公开方法,详见头文件声明。
|
||
|
|
|
||
|
|
```cpp
|
||
|
|
void EndFrame();
|
||
|
|
```
|
||
|
|
|
||
|
|
该方法声明于 `XCEngine/Debug/Profiler.h`,当前页面用于固定 `Profiler` 类目录下的方法级 canonical 路径。
|
||
|
|
|
||
|
|
**参数:** 无。
|
||
|
|
|
||
|
|
**返回:** `void` - 无返回值。
|
||
|
|
|
||
|
|
**示例:**
|
||
|
|
|
||
|
|
```cpp
|
||
|
|
#include <XCEngine/Debug/Profiler.h>
|
||
|
|
|
||
|
|
void Example() {
|
||
|
|
XCEngine::Debug::Profiler object;
|
||
|
|
// 根据上下文补齐参数后调用 Profiler::EndFrame(...)。
|
||
|
|
(void)object;
|
||
|
|
}
|
||
|
|
```
|
||
|
|
|
||
|
|
## 相关文档
|
||
|
|
|
||
|
|
- [返回类总览](Profiler.md)
|
||
|
|
- [返回模块目录](../Debug.md)
|