Skip to content

Commit

Permalink
Update source\Resource.rst
Browse files Browse the repository at this point in the history
  • Loading branch information
FuXiii committed Apr 25, 2024
1 parent 32ae38a commit e666f99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/Resource.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1005,7 +1005,7 @@ VkImageLayout
* :bdg-secondary:`VK_IMAGE_LAYOUT_PREINITIALIZED` 数据预初始化布局。
* :bdg-secondary:`VK_IMAGE_LAYOUT_PRESENT_SRC_KHR` 显示源布局。

在通过 ``VkImageCreateInfo`` 创建图片资源时,对应的 ``VkImageCreateInfo::initialLayout`` 必须为如下两种布局枚举中的一个
在通过 ``VkImageCreateInfo`` 创建图片资源时,对应的 ``VkImageCreateInfo::initialLayout`` :bdg-danger:`必须` 为如下两种布局中的一个

* :bdg-secondary:`VK_IMAGE_LAYOUT_UNDEFINED`
* :bdg-secondary:`VK_IMAGE_LAYOUT_PREINITIALIZED`
Expand Down

0 comments on commit e666f99

Please sign in to comment.