VV::V1::Surface struct

Native platform surface or window objects are abstracted by surface objects.

Specification

Base classes

template<EOS>
struct VV::V0::Surface_Maker<V0::OS_Platform>
Used to create an OS platform's surface type.

Derived classes

struct VV::V2::Surface
Surfaces hook onto a window to use as a rendering target.

Public static functions

static void Destroy(AppInstance::Handle _appHandle, Surface::Handle _surfaceHandle, const Memory::AllocationCallbacks* _allocator)
Destroy a VkSurfaceKHR object.
static auto CheckPhysicalDeviceSupport(PhysicalDevice::Handle _physDeviceHandle, ui32 _queueFamilyIndex, Surface::Handle _surfaceHandle, Bool& _checkResult) -> EResult
Query if presentation is supported.
static auto GetPhysicalDeviceCapabilities(PhysicalDevice::Handle _deviceHandle, Surface::Handle _surface, Surface::Capabilities& _capabilitiesResult) -> EResult
Query surface capabilities.
static auto GetFormats(PhysicalDevice::Handle _deviceHandle, Surface::Handle _surfaceHandle, ui32& _numFormats, Surface::Format* _formatsContainer) -> EResult
Query color formats supported by surface.
static auto QuerySupportedPresentationModes(PhysicalDevice::Handle _deviceHandle, Surface::Handle _surfaceHandle, ui32& _numPresentationModes, EPresentationMode* _presentationModesContainer) -> EResult
Query supported presentation modes.