MCPcopy Create free account
hub / github.com/Ipotrick/Daxa / current_timeline_pair

Method current_timeline_pair

src/cpp_wrapper.cpp:1027–1032  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1025 }
1026
1027 auto Swapchain::current_timeline_pair() const -> std::pair<TimelineSemaphore, u64>
1028 {
1029 auto gpu_value = *r_cast<TimelineSemaphore const *>(daxa_swp_gpu_timeline_semaphore(rc_cast<daxa_Swapchain>(this->object)));
1030 auto cpu_value = daxa_swp_current_cpu_timeline_value(rc_cast<daxa_Swapchain>(this->object));
1031 return std::pair{gpu_value, cpu_value};
1032 }
1033
1034 auto Swapchain::info() const -> SwapchainInfo const &
1035 {

Callers 7

executeMethod · 0.80
mainFunction · 0.80
mainFunction · 0.80
drawMethod · 0.80
drawMethod · 0.80
drawMethod · 0.80

Tested by

no test coverage detected