Function Kataglyphis::addMeshesForRangesInPlace

Function Kataglyphis::addMeshesForRangesInPlace#

Function Documentation#

void Kataglyphis::addMeshesForRangesInPlace(Model &model, const std::shared_ptr<VulkanDevice> &device, vk::CommandPool pool, std::span<const Vertex> vertices, std::span<const unsigned int> indices, std::span<const unsigned int> materialIndex, std::span<const ObjMaterial> materials, std::span<const MeshRange> ranges, UploadBatch &batch)#

The upload of every format: each range staged from views of the flat arrays, without a copy, through batch.