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

Method set_image

src/utils/impl_task_graph.cpp:796–805  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

794 }
795
796 void ExternalTaskImage::set_image(ImageId image, bool is_general_layout)
797 {
798 auto & impl = *r_cast<ImplExternalResource *>(this->object);
799
800 impl.id.image = image;
801 impl.pre_graph_queue_bits = {};
802 impl.pre_graph_is_general_layout = false;
803 impl.was_presented = false;
804 impl.pre_graph_is_general_layout = is_general_layout;
805 }
806
807 void ExternalTaskImage::swap_images(ExternalTaskImage & other)
808 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected