Lines Matching refs:frame_data_
48 sim_paused_(false), sim_(5000), camera_(2.5f), frame_data_(), in Smoke()
372 frame_data_.resize(count); in create_frame_data()
399 for (auto &data : frame_data_) in destroy_frame_data()
403 for (auto &data : frame_data_) in destroy_frame_data()
406 frame_data_.clear(); in destroy_frame_data()
415 for (auto &data : frame_data_) in create_fences()
428 cmd_info.commandBufferCount = static_cast<uint32_t>(frame_data_.size()); in create_command_buffers()
433 std::vector<VkCommandBuffer>(frame_data_.size(), VK_NULL_HANDLE)); in create_command_buffers()
449 for (size_t i = 0; i < frame_data_.size(); i++) { in create_command_buffers()
452 frame_data_[i].primary_cmd = cmds[i]; in create_command_buffers()
454 frame_data_[i].worker_cmds.push_back(cmds[i]); in create_command_buffers()
482 for (auto &data : frame_data_) in create_buffers()
489 vk::GetBufferMemoryRequirements(dev_, frame_data_[0].buf, &mem_reqs); in create_buffer_memory()
498 mem_info.allocationSize = aligned_size * (frame_data_.size() - 1) + in create_buffer_memory()
517 for (auto &data : frame_data_) { in create_buffer_memory()
528 desc_pool_size.descriptorCount = frame_data_.size(); in create_descriptor_sets()
532 desc_pool_info.maxSets = frame_data_.size(); in create_descriptor_sets()
540 std::vector<VkDescriptorSetLayout> set_layouts(frame_data_.size(), desc_set_layout_); in create_descriptor_sets()
548 std::vector<VkDescriptorSet> desc_sets(frame_data_.size(), VK_NULL_HANDLE); in create_descriptor_sets()
551 std::vector<VkDescriptorBufferInfo> desc_bufs(frame_data_.size()); in create_descriptor_sets()
552 std::vector<VkWriteDescriptorSet> desc_writes(frame_data_.size()); in create_descriptor_sets()
554 for (size_t i = 0; i < frame_data_.size(); i++) { in create_descriptor_sets()
555 auto &data = frame_data_[i]; in create_descriptor_sets()
706 auto &data = frame_data_[frame_data_index_]; in draw_objects()
771 auto &data = frame_data_[frame_data_index_]; in on_frame()
820 frame_data_index_ = (frame_data_index_ + 1) % frame_data_.size(); in on_frame()