You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: include/reshade_api_device.hpp
+39-4Lines changed: 39 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -186,6 +186,16 @@ namespace reshade { namespace api
186
186
/// If this feature is not present, <see cref="resource_view_type::acceleration_structure"/>, <see cref="command_list::dispatch_rays"/>, <see cref="command_list::copy_acceleration_structure"/>, <see cref="command_list::build_acceleration_structure"/> and <see cref="command_list::query_acceleration_structures"/> must not be used.
187
187
/// </summary>
188
188
ray_tracing,
189
+
/// <summary>
190
+
/// Specifies whether deferred buffer updates can be used.
191
+
/// If this feature is not present, <see cref="command_list::update_buffer_region"/> must not be used.
192
+
/// </summary>
193
+
update_buffer_region_command,
194
+
/// <summary>
195
+
/// Specifies whether deferred texture updates can be used.
196
+
/// If this feature is not present, <see cref="command_list::update_texture_region"/> must not be used.
197
+
/// </summary>
198
+
update_texture_region_command,
189
199
};
190
200
191
201
/// <summary>
@@ -412,15 +422,15 @@ namespace reshade { namespace api
/// Uploads data to a texture resource immediately.
424
434
/// </summary>
425
435
/// <param name="data">Pointer to the data to upload.</param>
426
436
/// <param name="resource">Texture resource to upload to.</param>
@@ -813,7 +823,7 @@ namespace reshade { namespace api
813
823
/// <param name="max_sizes">Optional pointer to an array of size values, one for each buffer. Can be <see langword="nullptr"/> or have elements set to UINT64_MAX to use the entire buffer.</param>
814
824
/// <param name="counter_buffers">Pointer to the first element of an array of counter buffer resources. These resources must have been created with the <see cref="resource_usage::stream_output"/> usage.</param>
815
825
/// <param name="counter_offsets">Pointer to the first element of an array of counter offset values, one for each counter buffer. Each offset is the number of bytes from the start of the counter buffer to the first element to write to.</param>
@@ -1104,7 +1114,7 @@ namespace reshade { namespace api
1104
1114
/// <param name="source">Acceleration structure to read data from when <paramref name="mode"/> is <see cref="acceleration_structure_build_mode::update"/>, otherwise zero.</param>
1105
1115
/// <param name="dest">Acceleration structure to write data to.</param>
1106
1116
/// <param name="mode">Choose between building a new or updating an existing acceleration structure.</param>
/// <param name="data">Pointer to the data to upload.</param>
1150
+
/// <param name="dest">Texture resource to upload to.</param>
1151
+
/// <param name="dest_subresource">Index of the subresource to upload to (<c>level + (layer * levels)</c>).</param>
1152
+
/// <param name="dest_box">Optional 3D box (or <see langword="nullptr"/> to reference the entire subresource) that defines the region in the <paramref name="resource"/> to upload to.</param>
0 commit comments