Files
XCEngine/docs/api/resources/mesh/constructor.md

32 lines
450 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Mesh::Mesh
```cpp
Mesh();
```
构造一个新的 Mesh 实例。初始化所有成员变量为默认值,顶点计数、索引计数均为 0不持有任何数据。
**参数:**
**返回:**
**异常:**
**线程安全:**
**复杂度:** O(1)
**示例:**
```cpp
#include "XCEngine/Resources/Mesh.h"
using namespace XCEngine::Resources;
Mesh mesh;
```
## 相关文档
- [类总览](mesh.md) - 返回类总览