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

Detailed Description

Specification


C Version:

// Provided by Wisdom 0.7.0.
size_t index,
WisSurfaceView surface);
C Implementation Specific Version:
// Provided by Wisdom 0.7.0.
bool wisVKAdapterQueryGetSurfaceSupport(const WisVKAdapterQuery* self,
size_t index,
WisVKSurfaceView surface);
// Provided by Wisdom 0.7.0.
bool wisDX12AdapterQueryGetSurfaceSupport(const WisDX12AdapterQuery* self,
size_t index,
WisDX12SurfaceView surface);

C++ Version:

namespace wis{
// Provided by Wisdom 0.7.0.
WIS_NODISCARD bool AdapterQuery::GetSurfaceSupport(std::size_t index,
wis::SurfaceView surface) const noexcept;
}
C++ Implementation Specific Version:
namespace wis{
// Provided by Wisdom 0.7.0.
WIS_NODISCARD bool VKAdapterQuery::GetSurfaceSupport(std::size_t index,
wis::VKSurfaceView surface) const noexcept;
// Provided by Wisdom 0.7.0.
WIS_NODISCARD bool DX12AdapterQuery::GetSurfaceSupport(std::size_t index,
wis::DX12SurfaceView surface) const noexcept;
}

Parameters


  • this self self is a pointer to the valid WisAdapterQuery instance.
  • index defines the index of the adapter to check the support for. It must be less than the value returned by wisAdapterQueryGetAdapterCount.
  • surface describes a pointer to WisSurface to check the presentation support for.
  • return true if the adapter supports presentation to the surface, false otherwise.

Description


See Also