File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -72,12 +72,14 @@ pub type ShaderLocation = u32;
7272/// [dynamic bind group offsets](../wgpu/struct.RenderPass.html#method.set_bind_group).
7373pub type DynamicOffset = u32 ;
7474
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.
7676///
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()`].
7879///
7980/// [`bytes_per_row`]: TexelCopyBufferLayout::bytes_per_row
8081/// [`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
8183/// [Qwt]: ../wgpu/struct.Queue.html#method.write_texture
8284pub const COPY_BYTES_PER_ROW_ALIGNMENT : u32 = 256 ;
8385
You can’t perform that action at this time.
0 commit comments