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


Public 类型 | |
| using | HeightFunc = float (*)(float, float) |
Public 类型 继承自 z8::BaseMesh | |
| using | IndexTy = uint16_t |
Public 成员函数 | |
| MountainMesh () | |
| void | Update () override |
Public 成员函数 继承自 z8::GridMesh | |
| GridMesh () | |
Public 成员函数 继承自 z8::BaseMesh | |
| 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 |
Public 成员函数 继承自 z8::Resource | |
| virtual | ~Resource ()=default |
| bool | IsValid () const |
Public 属性 | |
| HeightFunc | Func |
Public 属性 继承自 z8::GridMesh | |
| float | LengthX = 1 |
| float | LengthZ = 1 |
| unsigned | DivX = 5 |
| unsigned | DivZ = 5 |
Public 属性 继承自 z8::BaseMesh | |
| std::vector< Vertex > | V |
| std::vector< IndexTy > | I |
| NormalTy | NormalMode = NormalTy::Generate |
Public 属性 继承自 z8::Resource | |
| std::string | Id |
| ResourceTy | Type = ResourceTy::None |
| using z8::MountainMesh::HeightFunc = float (*)(float, float) |
| MountainMesh::MountainMesh | ( | ) |

|
overridevirtual |
| HeightFunc z8::MountainMesh::Func |