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

Detailed Description

Specification


C version:

// Provided by Wisdom 0.7.0.
typedef struct WisSurfaceParameters {
uint32_t min_swapchain_images;
uint32_t max_swapchain_images;
uint32_t alpha_modes_supported;
WisTextureUsageFlags texture_usage_flags_supported;
bool stereo_supported;

C++ version:

namespace wis{
// Provided by Wisdom 0.7.0.
struct SurfaceParameters {
std::uint32_t min_swapchain_images;
std::uint32_t max_swapchain_images;
std::uint32_t alpha_modes_supported;
wis::TextureUsageFlags texture_usage_flags_supported;
bool stereo_supported;
};
}

Members


  • min_swapchain_images specifies minimum number of images in the swapchain.
  • max_swapchain_images defines maximum number of images in the swapchain.
  • alpha_modes_supported specifies bitmask of supported alpha modes for the swapchain. Each bit represents a different alpha mode. Used to determine the supported alpha modes for the swapchain.
  • texture_usage_flags_supported specifies bitmask of supported texture usage flags for the swapchain images.
  • stereo_supported indicates if stereo rendering is supported. If true, the surface can be used to create a swapchain with stereo support.

Description


See Also


See also
Functions: wisDeviceGetSurfaceParameters