Function Kataglyphis::ensureAtLeastOneTexture

Function Kataglyphis::ensureAtLeastOneTexture#

Function Documentation#

void Kataglyphis::ensureAtLeastOneTexture(Model &model, const std::shared_ptr<VulkanDevice> &device, vk::CommandPool pool)#

The getTextureCount() == 0 fallback both loaders fall back to when their document had no textures at all, so textureID 0 is still a valid index.