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

Detailed Description

Specification


C Version:

// Provided by Wisdom 0.7.0.
const WisRect* rects,
size_t rect_count);
C Implementation Specific Version:
// Provided by Wisdom 0.7.0.
WisResult wisVKSwapchainPresent(const WisVKSwapchain* self,
const WisRect* rects,
size_t rect_count);
// Provided by Wisdom 0.7.0.
WisResult wisDX12SwapchainPresent(const WisDX12Swapchain* self,
const WisRect* rects,
size_t rect_count);

C++ Version:

namespace wis{
// Provided by Wisdom 0.7.0.
wis::Result Swapchain::Present(wis::PresentFlags flags,
wis::span<const wis::Rect> rects) const noexcept;
}
C++ Implementation Specific Version:
namespace wis{
// Provided by Wisdom 0.7.0.
wis::Result VKSwapchain::Present(wis::PresentFlags flags,
wis::span<const wis::Rect> rects) const noexcept;
// Provided by Wisdom 0.7.0.
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