Vulkan-Docs/doc/specs/vulkan/man/VkClearRect.txt

57 lines
1.2 KiB
Plaintext

// Copyright (c) 2014-2016 Khronos Group. This work is licensed under a
// Creative Commons Attribution 4.0 International License; see
// http://creativecommons.org/licenses/by/4.0/
VkClearRect(3)
==============
Name
----
VkClearRect - Structure specifying a clear rectangle
C Specification
---------------
// refBegin VkClearRect - Structure specifying a clear rectangle
The sname:VkClearRect structure is defined as:
include::../structs/VkClearRect.txt[]
Members
-------
* pname:rect is the two-dimensional region to be cleared.
* pname:baseArrayLayer is the first layer to be cleared.
* pname:layerCount is the number of layers to clear.
Description
-----------
The layers latexmath:[$[baseArrayLayer, baseArrayLayer+layerCount)$]
counting from the base layer of the attachment image view are cleared.
include::../validity/structs/VkClearRect.txt[]
See Also
--------
slink:VkRect2D, flink:vkCmdClearAttachments
Document Notes
--------------
For more information, see the Vulkan Specification at URL
https://www.khronos.org/registry/vulkan/specs/1.0/xhtml/vkspec.html#VkClearRect
This page is extracted from the Vulkan Specification.
Fixes and changes should be made to the Specification,not directly.
include::footer.txt[]