FCT
载入中...
搜索中...
未找到
Primitives.h 文件参考
此图展示该文件被哪些文件直接或间接地引用了:

浏览该文件的源代码.

命名空间

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} })