| 1083 | } |
| 1084 | |
| 1085 | auto TaskGraph::task_image_info(TaskImageView const & task_image) -> TaskImageInfo |
| 1086 | { |
| 1087 | ImplTaskGraph & impl = *reinterpret_cast<ImplTaskGraph *>(this->object); |
| 1088 | validate_resource_view_is_owned_by_graph(impl, task_image); |
| 1089 | |
| 1090 | auto const & resource_image_info = impl.resources[task_image.index].info.image; |
| 1091 | return TaskImageInfo{ |
| 1092 | .dimensions = resource_image_info.dimensions, |
| 1093 | .format = resource_image_info.format, |
| 1094 | .size = resource_image_info.size, |
| 1095 | .mip_level_count = resource_image_info.mip_level_count, |
| 1096 | .array_layer_count = resource_image_info.array_layer_count, |
| 1097 | .sample_count = resource_image_info.sample_count, |
| 1098 | .lifetime_type = impl.resources[task_image.index].lifetime_type, |
| 1099 | .name = impl.resources[task_image.index].name, |
| 1100 | }; |
| 1101 | } |
| 1102 | |
| 1103 | void TaskGraph::clear_buffer(TaskBufferClearInfo const & info) |
| 1104 | { |
nothing calls this directly
no test coverage detected