Specification
C Version:
C Implementation Specific Version:
WisResult wisVKSwapchainPresent(
const WisVKSwapchain* self,
size_t rect_count);
WisResult wisDX12SwapchainPresent(
const WisDX12Swapchain* self,
size_t rect_count);
C++ Version:
namespace wis{
wis::Result Swapchain::Present(wis::PresentFlags flags,
wis::span<const wis::Rect> rects) const noexcept;
}
C++ Implementation Specific Version:
namespace wis{
wis::Result VKSwapchain::Present(wis::PresentFlags flags,
wis::span<const wis::Rect> rects) const noexcept;
wis::Result DX12Swapchain::Present(wis::PresentFlags flags,
wis::span<const wis::Rect> rects) const noexcept;
}
Parameters
- this
self self is a pointer to the valid WisSwapchain instance.
flags describes the presentation options.
rects points to an array of rectangles to present. If nullptr, the entire image is presented.
rect_count specifies the number of rectangles to present. It must be 0 if rects is nullptr.
- return denoting the outcome of operation.
Description
See Also