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

Method task_buffer_info

src/utils/impl_task_graph.cpp:1061–1071  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1059 }
1060
1061 auto TaskGraph::task_buffer_info(TaskBufferView const & task_buffer) -> TaskBufferInfo
1062 {
1063 ImplTaskGraph & impl = *reinterpret_cast<ImplTaskGraph *>(this->object);
1064 validate_resource_view_is_owned_by_graph(impl, task_buffer);
1065
1066 return TaskBufferInfo{
1067 .size = impl.resources[task_buffer.index].info.buffer.size,
1068 .lifetime_type = impl.resources[task_buffer.index].lifetime_type,
1069 .name = impl.resources[task_buffer.index].name,
1070 };
1071 }
1072
1073 auto TaskGraph::task_tlas_info(TaskTlasView const & task_blas) -> TaskTlasInfo
1074 {

Callers

nothing calls this directly

Tested by

no test coverage detected