wisdom
Loading...
Searching...
No Matches
wisSwapchainGetTextures Struct Reference

Detailed Description

Specification


C Version:

// Provided by Wisdom 0.7.0.
WisTexture* buffers,
size_t buffer_count);
C Implementation Specific Version:
// Provided by Wisdom 0.7.0.
WisResult wisVKSwapchainGetTextures(const WisVKSwapchain* self,
WisVKTexture* buffers,
size_t buffer_count);
// Provided by Wisdom 0.7.0.
WisResult wisDX12SwapchainGetTextures(const WisDX12Swapchain* self,
WisDX12Texture* buffers,
size_t buffer_count);

C++ Version:

namespace wis{
// Provided by Wisdom 0.7.0.
wis::Result Swapchain::GetTextures(wis::span<wis::Texture> buffers) const noexcept;
}
C++ Implementation Specific Version:
namespace wis{
// Provided by Wisdom 0.7.0.
wis::Result VKSwapchain::GetTextures(wis::span<wis::VKTexture> buffers) const noexcept;
// Provided by Wisdom 0.7.0.
wis::Result DX12Swapchain::GetTextures(wis::span<wis::DX12Texture> buffers) const noexcept;
}

Parameters


  • this self self is a pointer to the valid WisSwapchain instance.
  • buffers points to an array of texture views, which are filled with swapchain backbuffers on success.
  • buffer_count specifies the number of buffers to get. It must be greater or equal to the value, supplied to WisSwapchainDesc::image_count or subsequent WisSwapchainUpdateDesc::image_count.
  • return denoting the outcome of operation.

Description


See Also