Class ILLIXR::display::glfw_extended
ClassList > ILLIXR > display > glfw_extended
Inherits the following classes: ILLIXR::display::display_backend
Public Functions
Type | Name |
---|---|
void | cleanup () override |
std::pair< uint32_t, uint32_t > | get_framebuffer_size () |
std::set< const char * > | get_required_device_extensions () override |
std::set< const char * > | get_required_instance_extensions () override |
display_backend_type | get_type () override |
glfw_extended () |
|
void | setup_display (const std::shared_ptr< switchboard > sb, VkInstance vk_instance, VkPhysicalDevice vk_physical_device) override Sets up the GLFW environment. |
Public Static Functions
Type | Name |
---|---|
void | poll_window_events () |
Public Functions Documentation
function cleanup
void ILLIXR::display::glfw_extended::cleanup () override
function get_framebuffer_size
std::pair< uint32_t, uint32_t > ILLIXR::display::glfw_extended::get_framebuffer_size ()
function get_required_device_extensions
std::set< const char * > ILLIXR::display::glfw_extended::get_required_device_extensions () override
function get_required_instance_extensions
std::set< const char * > ILLIXR::display::glfw_extended::get_required_instance_extensions () override
function get_type
display_backend_type ILLIXR::display::glfw_extended::get_type () override
function glfw_extended
ILLIXR::display::glfw_extended::glfw_extended ()
function setup_display
Sets up the GLFW environment.
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.
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/src/display/glfw_extended.hpp