|
slot 0.0.1
A real time UI render framework
|
#include <BaseMesh.h>


Public 类型 | |
| using | IndexTy = uint16_t |
Public 成员函数 | |
| BaseMesh () | |
| unsigned | VertexByteSize () const |
| unsigned | VertexElementSize () const |
| unsigned | VertexCount () const |
| unsigned | IndexByteSize () const |
| unsigned | IndexCount () const |
| void | ComputeNormals () |
| bool | Validate (std::string *error=nullptr) const |
| virtual void | Update () |
Public 成员函数 继承自 z8::Resource | |
| virtual | ~Resource ()=default |
| bool | IsValid () const |
Public 属性 | |
| std::vector< Vertex > | V |
| std::vector< IndexTy > | I |
| NormalTy | NormalMode = NormalTy::Generate |
Public 属性 继承自 z8::Resource | |
| std::string | Id |
| ResourceTy | Type = ResourceTy::None |
描述物体顶点 从相机视角,顶点绕序决定正反面,顺时针为正面,逆时针为背面
|
inline |
| void BaseMesh::ComputeNormals | ( | ) |
|
inline |

|
inline |
被 z8::GridMesh, z8::MountainMesh , 以及 z8::SphereMesh 重载.
|
inline |

|
inline |
|
inline |

| std::vector<IndexTy> z8::BaseMesh::I |
| NormalTy z8::BaseMesh::NormalMode = NormalTy::Generate |
| std::vector<Vertex> z8::BaseMesh::V |