File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -72,12 +72,14 @@ pub type ShaderLocation = u32;
72
72
/// [dynamic bind group offsets](../wgpu/struct.RenderPass.html#method.set_bind_group).
73
73
pub type DynamicOffset = u32 ;
74
74
75
- /// Buffer-to- texture copies must have [`bytes_per_row`] aligned to this number.
75
+ /// Buffer-texture copies must have [`bytes_per_row`] aligned to this number.
76
76
///
77
- /// This doesn't apply to [`Queue::write_texture`][Qwt], only to [`copy_buffer_to_texture()`].
77
+ /// This doesn't apply to [`Queue::write_texture`][Qwt], only to [`copy_buffer_to_texture()`]
78
+ /// and [`copy_texture_to_buffer()`].
78
79
///
79
80
/// [`bytes_per_row`]: TexelCopyBufferLayout::bytes_per_row
80
81
/// [`copy_buffer_to_texture()`]: ../wgpu/struct.Queue.html#method.copy_buffer_to_texture
82
+ /// [`copy_texture_to_buffer()`]: ../wgpu/struct.Queue.html#method.copy_texture_to_buffer
81
83
/// [Qwt]: ../wgpu/struct.Queue.html#method.write_texture
82
84
pub const COPY_BYTES_PER_ROW_ALIGNMENT : u32 = 256 ;
83
85
You can’t perform that action at this time.
0 commit comments