Add access to the lower-level glTF interfaces GLTFMesh and therefore GLTFPrimitive.
Since GLTFPrimitive has references to both the underlying GPU buffers and textures (via the material), this makes rendering of assets without the whole Scene and SceneRenderPass logic possible.
Coverage decreased (-0.05%) to 20.165% when pulling a231fb103d06176243416b1e6a7c5f9d750b7489 on p-otto:instanced-rendering-example into d1155783acc2cc9dbbef377ee66ca6124d747a6d on cginternals:master.
Add access to the lower-level glTF interfaces
GLTFMesh
and thereforeGLTFPrimitive
. SinceGLTFPrimitive
has references to both the underlying GPU buffers and textures (via the material), this makes rendering of assets without the wholeScene
andSceneRenderPass
logic possible.Additions to API:
GLTFLoader::meshes
GLTFLoader::getMeshByName
GLTFLoader::uriTextureMap
GLTFPrimitive::getVertexBufferInformationFromAttribute