FCT
|
命名空间 | |
namespace | FCT |
namespace | FCT::Primitives |
枚举 | |
enum class | FCT::Primitives::VertexMode { FCT::Primitives::Shared , FCT::Primitives::PerFace , FCT::Primitives::Auto } |
enum class | FCT::Primitives::TextureMode { FCT::Primitives::Single , FCT::Primitives::PerFace , FCT::Primitives::Auto } |
函数 | |
template<typename IndexType = uint16_t> | |
static StaticMesh< IndexType > * | FCT::Primitives::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 > * | FCT::Primitives::createSphere (Context *ctx, float radius=1.0f, int segments=16, const VertexLayout &layout=VertexLayout{ VertexElement{VtxType::Position3f}, VertexElement{VtxType::Color4f}, VertexElement{VtxType::TexCoord2f} }) |