| 1368 | } |
| 1369 | |
| 1370 | auto CommandRecorder::begin_renderpass(RenderPassBeginInfo const & info) && -> RenderCommandRecorder |
| 1371 | { |
| 1372 | auto result = daxa_cmd_begin_renderpass( |
| 1373 | this->internal, |
| 1374 | r_cast<daxa_RenderPassBeginInfo const *>(&info)); |
| 1375 | check_result(result, "failed to begin renderpass"); |
| 1376 | RenderCommandRecorder ret = {}; |
| 1377 | ret.internal = this->internal; |
| 1378 | this->internal = {}; |
| 1379 | return ret; |
| 1380 | } |
| 1381 | DAXA_DECL_COMMAND_LIST_WRAPPER(CommandRecorder, write_timestamp, WriteTimestampInfo) |
| 1382 | DAXA_DECL_COMMAND_LIST_WRAPPER(CommandRecorder, reset_timestamps, ResetTimestampsInfo) |
| 1383 | DAXA_DECL_COMMAND_LIST_WRAPPER(CommandRecorder, begin_label, CommandLabelInfo) |