Lines Matching refs:frame_data_
42 sim_paused_(false), sim_(5000), camera_(2.5f), frame_data_(), in Smoke()
367 frame_data_.resize(count); in create_frame_data()
389 for (auto &data : frame_data_) in destroy_frame_data()
398 for (auto &data : frame_data_) in destroy_frame_data()
401 frame_data_.clear(); in destroy_frame_data()
410 for (auto &data : frame_data_) in create_fences()
423 cmd_info.commandBufferCount = static_cast<uint32_t>(frame_data_.size()); in create_command_buffers()
428 std::vector<VkCommandBuffer>(frame_data_.size(), VK_NULL_HANDLE)); in create_command_buffers()
444 for (size_t i = 0; i < frame_data_.size(); i++) { in create_command_buffers()
447 frame_data_[i].primary_cmd = cmds[i]; in create_command_buffers()
449 frame_data_[i].worker_cmds.push_back(cmds[i]); in create_command_buffers()
477 for (auto &data : frame_data_) in create_buffers()
484 vk::GetBufferMemoryRequirements(dev_, frame_data_[0].buf, &mem_reqs); in create_buffer_memory()
493 mem_info.allocationSize = aligned_size * (frame_data_.size() - 1) + in create_buffer_memory()
512 for (auto &data : frame_data_) { in create_buffer_memory()
523 desc_pool_size.descriptorCount = static_cast<uint32_t>(frame_data_.size()); in create_descriptor_sets()
527 desc_pool_info.maxSets = static_cast<uint32_t>(frame_data_.size()); in create_descriptor_sets()
535 std::vector<VkDescriptorSetLayout> set_layouts(frame_data_.size(), desc_set_layout_); in create_descriptor_sets()
543 std::vector<VkDescriptorSet> desc_sets(frame_data_.size(), VK_NULL_HANDLE); in create_descriptor_sets()
546 std::vector<VkDescriptorBufferInfo> desc_bufs(frame_data_.size()); in create_descriptor_sets()
547 std::vector<VkWriteDescriptorSet> desc_writes(frame_data_.size()); in create_descriptor_sets()
549 for (size_t i = 0; i < frame_data_.size(); i++) { in create_descriptor_sets()
550 auto &data = frame_data_[i]; in create_descriptor_sets()
701 auto &data = frame_data_[frame_data_index_]; in draw_objects()
766 auto &data = frame_data_[frame_data_index_]; in on_frame()
818 frame_data_index_ = (frame_data_index_ + 1) % frame_data_.size(); in on_frame()