| Renderer::DescriptorSetBuilder & Spices::Renderer::DescriptorSetBuilder::AddStorageTexture | ( | uint32_t | set, |
| uint32_t | binding, | ||
| VkShaderStageFlags | stageFlags, | ||
| const std::vector< std::string > & | textureNames, | ||
| VkFormat | format = VK_FORMAT_R8G8B8A8_UNORM, | ||
| TextureType | type = TextureType::Texture2D ) |
Add the storage texture set binding to descriptor set layout.
| [in] | set | Which set this texture wil use. |
| [in] | binding | Which binding this texture wil use. |
| [in] | stageFlags | Which buffer stage this buffer will use. |
| [in] | textureNames | All Texture's Name. |
| [in] | format | Texture Format, used in init. |
| [in] | type | Texture's type, used in init. |
fill in imageInfos.
Registy descriptor and add binging to it.
fill in imageInfos.
Registy descriptor and add binging to it.
Definition at line 1661 of file Renderer.cpp.
References m_DescriptorSetId.