Specification
C Version:
size_t index,
WisSurfaceView surface);
C Implementation Specific Version:
bool wisVKAdapterQueryGetSurfaceSupport(const WisVKAdapterQuery* self,
size_t index,
WisVKSurfaceView surface);
bool wisDX12AdapterQueryGetSurfaceSupport(const WisDX12AdapterQuery* self,
size_t index,
WisDX12SurfaceView surface);
C++ Version:
namespace wis{
WIS_NODISCARD bool AdapterQuery::GetSurfaceSupport(std::size_t index,
wis::SurfaceView surface) const noexcept;
}
C++ Implementation Specific Version:
namespace wis{
WIS_NODISCARD bool VKAdapterQuery::GetSurfaceSupport(std::size_t index,
wis::VKSurfaceView surface) const noexcept;
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