FCT
|
枚举 | |
enum class | VertexMode { Shared , PerFace , Auto } |
enum class | TextureMode { Single , PerFace , Auto } |
函数 | |
template<typename IndexType = uint16_t> | |
static StaticMesh< IndexType > * | createCube (Context *ctx, float size=1.0f, const VertexLayout &layout=VertexLayout{ VertexElement{VtxType::Position3f}, VertexElement{VtxType::Color4f}, VertexElement{VtxType::TexCoord2f} }) |
template<typename IndexType = uint16_t> | |
static StaticMesh< IndexType > * | createSphere (Context *ctx, float radius=1.0f, int segments=16, const VertexLayout &layout=VertexLayout{ VertexElement{VtxType::Position3f}, VertexElement{VtxType::Color4f}, VertexElement{VtxType::TexCoord2f} }) |
|
strong |
枚举值 | |
---|---|
Single | |
PerFace | |
Auto |
在文件 Primitives.h 第 17 行定义.
|
strong |
枚举值 | |
---|---|
Shared | |
PerFace | |
Auto |
在文件 Primitives.h 第 11 行定义.
|
static |
在文件 Primitives.h 第 23 行定义.
|
static |
在文件 Primitives.h 第 106 行定义.