Merge pull request #781 from MarkCallow/issue752

Specify the units of buffer{RowLength,imageHeight}. Issue 752.
This commit is contained in:
Jon Leech 2018-09-15 18:19:07 -07:00 committed by GitHub
commit 848dd8ed28
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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.