Class GLTFMeshInterface

Class Documentation

class GLTFMeshInterface

Public Functions

GLTFMeshInterface(const String &manifest, std::unique_ptr<const Microsoft::glTF::GLTFResourceReader> resourceReader)
std::vector<float> GetPositionBuffer(U32 meshId, U32 meshPrimitive, U32 &bufferSize, U32 &count) const
std::vector<float> GetNormalBuffer(U32 meshId, U32 meshPrimitive, U32 &bufferSize, U32 &count) const
std::vector<float> GetUVBuffer(U32 meshId, U32 meshPrimitive, U32 &bufferSize, U32 &count) const
std::vector<U32> GetIndexBuffer(U32 meshId, U32 meshPrimitive, U32 &bufferSize, U32 &count) const