Skip to content

Class ILLIXR::display::glfw_extended

ClassList > ILLIXR > display > glfw_extended

  • #include <glfw_extended.hpp>

Inherits the following classes: ILLIXR::display::display_backend

Public Types inherited from ILLIXR::display::display_backend

See ILLIXR::display::display_backend

Type Name
enum display_backend_type

Public Functions

Type Name
virtual void cleanup () override
std::pair< uint32_t, uint32_t > get_framebuffer_size ()
virtual std::set< const char * > get_required_device_extensions () override
virtual std::set< const char * > get_required_instance_extensions () override
virtual display_backend_type get_type () override
glfw_extended ()
virtual void setup_display (const std::shared_ptr< switchboard > sb, VkInstance vk_instance, VkPhysicalDevice vk_physical_device) override
Sets up the GLFW environment.

Public Functions inherited from ILLIXR::display::display_backend

See ILLIXR::display::display_backend

Type Name
virtual void cleanup () = 0
virtual VkSurfaceKHR create_surface () = 0
virtual std::set< const char * > get_required_device_extensions () = 0
virtual std::set< const char * > get_required_instance_extensions () = 0
virtual display_backend_type get_type () = 0
virtual void setup_display (const std::shared_ptr< switchboard > sb, VkInstance vk_instance, VkPhysicalDevice vk_physical_device) = 0

Public Static Functions

Type Name
void poll_window_events ()

Protected Attributes inherited from ILLIXR::display::display_backend

See ILLIXR::display::display_backend

Type Name
VkInstance vk_instance_

Public Functions Documentation

function cleanup

virtual void ILLIXR::display::glfw_extended::cleanup () override

Implements ILLIXR::display::display_backend::cleanup


function get_framebuffer_size

std::pair< uint32_t , uint32_t > ILLIXR::display::glfw_extended::get_framebuffer_size () 

function get_required_device_extensions

virtual std::set< const  char * > ILLIXR::display::glfw_extended::get_required_device_extensions () override

Implements ILLIXR::display::display_backend::get_required_device_extensions


function get_required_instance_extensions

virtual std::set< const  char * > ILLIXR::display::glfw_extended::get_required_instance_extensions () override

Implements ILLIXR::display::display_backend::get_required_instance_extensions


function get_type

virtual display_backend_type ILLIXR::display::glfw_extended::get_type () override

Implements ILLIXR::display::display_backend::get_type


function glfw_extended

ILLIXR::display::glfw_extended::glfw_extended () 

function setup_display

Sets up the GLFW environment.

virtual void ILLIXR::display::glfw_extended::setup_display (
    const std::shared_ptr< switchboard > sb,
    VkInstance vk_instance,
    VkPhysicalDevice vk_physical_device
) override

This function initializes the GLFW library, sets the window hints for the client API and resizability, and creates a GLFW window with the specified width and height.

Exception:

  • runtime_error If GLFW initialization fails.

Implements ILLIXR::display::display_backend::setup_display


Public Static Functions Documentation

function poll_window_events

static void ILLIXR::display::glfw_extended::poll_window_events () 


The documentation for this class was generated from the following file /home/friedel/devel/ILLIXR/illixr_release/ILLIXR/src/display/glfw_extended.hpp