12 for (
Object&
object : frameInfo.
objects | std::views::values) {
13 if (
object.getModel() ==
nullptr) {
continue; }
14 auto bufferInfo =
object.getBufferInfo(
static_cast<int>(frameInfo.
frameIndex));
15 auto imageInfo =
object.getDiffuseMap()->getImageInfo();
16 VkDescriptorSet objectDescriptorSet =
nullptr;
20 .
build(objectDescriptorSet);
22 vkCmdBindDescriptorSets(
24 VK_PIPELINE_BIND_POINT_GRAPHICS,
34 .normalMatrix =
object.transform.normalMatrix()