MCPcopy Create free account
hub / github.com/KhronosGroup/Vulkan-Samples / register_render_pass

Method register_render_pass

framework/resource_record.cpp:82–94  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

80}
81
82size_t ResourceRecord::register_render_pass(const std::vector<vkb::rendering::AttachmentC> &attachments, const std::vector<LoadStoreInfo> &load_store_infos, const std::vector<SubpassInfo> &subpasses)
83{
84 render_pass_indices.push_back(render_pass_indices.size());
85
86 write(stream,
87 ResourceType::RenderPass,
88 attachments,
89 load_store_infos);
90
91 write_subpass_info(stream, subpasses);
92
93 return render_pass_indices.back();
94}
95
96size_t ResourceRecord::register_graphics_pipeline(VkPipelineCache /*pipeline_cache*/, vkb::rendering::PipelineStateC &pipeline_state)
97{

Callers 2

recordMethod · 0.45
recordMethod · 0.45

Calls 3

writeFunction · 0.85
write_subpass_infoFunction · 0.85
sizeMethod · 0.80

Tested by

no test coverage detected