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

Method buffer_host_address

src/cpp_wrapper.cpp:558–570  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

556 }
557
558 auto Device::buffer_host_address(BufferId id) const -> Optional<std::byte *>
559 {
560 std::byte * ret = nullptr;
561 auto result = daxa_dvc_buffer_host_address(
562 rc_cast<daxa_Device>(this->object),
563 static_cast<daxa_BufferId>(id),
564 r_cast<void **>(&ret));
565 if (result == DAXA_RESULT_SUCCESS)
566 {
567 return {ret};
568 }
569 return {};
570 }
571
572 auto Device::buffer_device_address_to_buffer(DeviceAddress address) -> Optional<BufferOffsetPair>
573 {

Callers 8

RingBufferMethod · 0.80
resource_viewer_uiFunction · 0.80
resource_detail_uiFunction · 0.80
example_task_callbackFunction · 0.80
host_addressFunction · 0.80
buffer_host_addressFunction · 0.80

Calls 1

Tested by

no test coverage detected