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

Method build_acceleration_structures

src/cpp_wrapper.cpp:1300–1306  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1298 DAXA_DECL_COMMAND_LIST_WRAPPER_CHECK_RESULT(CommandRecorder, clear_buffer, BufferClearInfo)
1299 DAXA_DECL_COMMAND_LIST_WRAPPER_CHECK_RESULT(CommandRecorder, clear_image, ImageClearInfo)
1300 void CommandRecorder::build_acceleration_structures(BuildAccelerationStructuresInfo const & info)
1301 {
1302 auto result = daxa_cmd_build_acceleration_structures(
1303 this->internal,
1304 r_cast<daxa_BuildAccelerationStucturesInfo const *>(&info));
1305 check_result(result, "failed to build acceleration structures");
1306 }
1307 DAXA_DECL_COMMAND_LIST_WRAPPER_CHECK_RESULT(CommandRecorder, pipeline_barrier, BarrierInfo)
1308 DAXA_DECL_COMMAND_LIST_WRAPPER_CHECK_RESULT(CommandRecorder, pipeline_image_barrier, ImageBarrierInfo)
1309

Callers 3

initializeMethod · 0.80

Calls 2

check_resultFunction · 0.85

Tested by

no test coverage detected