Specify the units of buffer{RowLength,imageHeight}. Issue 752.

This commit is contained in:
MarkCallow 2018-08-28 16:20:04 -07:00
parent dd9919749a
commit 5cf880295c
1 changed files with 5 additions and 5 deletions

View File

@ -1068,11 +1068,11 @@ include::../api/structs/VkBufferImageCopy.txt[]
* pname:bufferOffset is the offset in bytes from the start of the buffer * pname:bufferOffset is the offset in bytes from the start of the buffer
object where the image data is copied from or to. object where the image data is copied from or to.
* pname:bufferRowLength and pname:bufferImageHeight specify the data in * pname:bufferRowLength and pname:bufferImageHeight specify in texels
buffer memory as a subregion of a larger two- or three-dimensional a subregion of a larger two- or three-dimensional image in
image, and control the addressing calculations of data in buffer memory. buffer memory, and control the addressing calculations. If
If either of these values is zero, that aspect of the buffer memory is either of these values is zero, that aspect of the buffer memory
considered to be tightly packed according to the pname:imageExtent. is considered to be tightly packed according to the pname:imageExtent.
* pname:imageSubresource is a slink:VkImageSubresourceLayers used to * pname:imageSubresource is a slink:VkImageSubresourceLayers used to
specify the specific image subresources of the image used for the source specify the specific image subresources of the image used for the source
or destination image data. or destination image data.