Class Surface¶
Defined in File surface.h
Inheritance Relationships¶
Derived Type¶
public portal::renderer::vulkan::VulkanSurface(Class VulkanSurface)
Class Documentation¶
-
class Surface¶
Subclassed by portal::renderer::vulkan::VulkanSurface
Public Functions
-
explicit Surface(SurfaceProperties properties)¶
Initializes the surface with the necessary properties.
-
virtual ~Surface() = default¶
-
virtual const SurfaceCapabilities &get_capabilities() const = 0¶
Queries the capabilities of the surface for a specific physical device/adapter.
- Returns:
A structured capability description (e.g., supported formats, presentation modes, extent).
-
virtual glm::ivec2 get_extent() const = 0¶
Gets the current size of the renderable area in pixels.
-
virtual SurfaceType get_type() const = 0¶
-
virtual size_t get_min_frames_in_flight() const = 0¶
Protected Attributes
-
SurfaceProperties properties¶
-
explicit Surface(SurfaceProperties properties)¶