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

Method set_buffer

src/utils/impl_task_graph.cpp:604–610  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

602 }
603
604 void ExternalTaskBuffer::set_buffer(BufferId buffer)
605 {
606 auto & impl = *r_cast<ImplExternalResource *>(this->object);
607
608 impl.id.buffer = buffer;
609 impl.pre_graph_queue_bits = {};
610 }
611
612 void ExternalTaskBuffer::swap_buffers(ExternalTaskBuffer & other)
613 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected