GLTFGeometryLoader Class
(Qt3DRender::GLTFGeometryLoader)公有函数
GLTFGeometryLoader() | |
~GLTFGeometryLoader() | |
QGeometry * | geometry() const |
bool | load(QIODevice *ioDev, const QString &subMesh = QString()) |
受保护的函数
void | cleanup() |
void | loadBufferData() |
void | parse() |
void | processJSONAccessor(const QString &id, const QJsonObject &json) |
void | processJSONBuffer(const QString &id, const QJsonObject &json) |
void | processJSONBufferView(const QString &id, const QJsonObject &json) |
void | processJSONMesh(const QString &id, const QJsonObject &json) |
QByteArray | resolveLocalData(const QString &path) const |
void | setBasePath(const QString &path) |
bool | setJSON(const QJsonDocument &json) |
void | unloadBufferData() |
Static Protected Members
uint | accessorDataSizeFromJson(const QString &type) |
QAttribute::VertexBaseType | accessorTypeFromJSON(int componentType) |
QString | standardAttributeNameFromSemantic(const QString &semantic) |
成员函数
GLTFGeometryLoader::GLTFGeometryLoader()
Default constructs an instance of GLTFGeometryLoader.
GLTFGeometryLoader::~GLTFGeometryLoader()
Destroys the instance of GLTFGeometryLoader.