• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// Copyright 2015-2024 The Khronos Group Inc.
2//
3// SPDX-License-Identifier: CC-BY-4.0
4
5= Title
6
7[open,refpage='vkCmdClearColorImage',desc='Clear regions of a color image',type='protos']
8--
9To clear one or more subranges of a color image, call:
10
11include::{generated}/api/protos/vkCmdClearColorImage.adoc[]
12
13.Valid Usage
14****
15  * If pname:image is non-sparse then the following must: hold:
16
17      {empty}:: [eq]#p~i~ = {v~i~, v~i+1~}#
18
19  * [[VUID-vkCmdClearColorImage-imageLayout-00004]]
20    pname:imageLayout must: specify the layout of the image subresource ranges of pname:image specified in pname:pRanges at the time this
21    command is executed on a sname:VkDevice
22****
23