Specification
C Version:
C Implementation Specific Version:
WisResult wisVKSwapchainGetCurrentIndex(
const WisVKSwapchain* self,
uint32_t* index);
WisResult wisDX12SwapchainGetCurrentIndex(
const WisDX12Swapchain* self,
uint32_t* index);
C++ Version:
namespace wis{
WIS_NODISCARD std::uint32_t Swapchain::GetCurrentIndex(wis::Result& out_result) const noexcept;
}
C++ Implementation Specific Version:
namespace wis{
WIS_NODISCARD std::uint32_t VKSwapchain::GetCurrentIndex(wis::Result& out_result) const noexcept;
WIS_NODISCARD std::uint32_t DX12Swapchain::GetCurrentIndex(wis::Result& out_result) const noexcept;
}
Parameters
- this
self self is a pointer to the valid WisSwapchain instance.
index Index of the current backbuffer.
- return denoting the outcome of operation.
Description
See Also