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

Method create_image_from_memory_block

src/cpp_wrapper.cpp:476–486  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

474 }
475
476 auto Device::create_image_from_memory_block(MemoryBlockImageInfo const & info) -> ImageId
477 {
478 ImageId id = {};
479 check_result(
480 daxa_dvc_create_image_from_block(
481 r_cast<daxa_Device>(this->object),
482 r_cast<daxa_MemoryBlockImageInfo const *>(&info),
483 r_cast<daxa_ImageId *>(&id)),
484 "failed to create image from memory block");
485 return id;
486 }
487 auto Device::create_tlas_from_buffer(BufferTlasInfo const & info) -> TlasId
488 {
489 TlasId id = {};

Callers 2

completeMethod · 0.80

Calls 2

check_resultFunction · 0.85

Tested by

no test coverage detected