TheAtlasEngine
 
Loading...
Searching...
No Matches
atlas::vk::vk_window Class Reference
Inheritance diagram for atlas::vk::vk_window:
atlas::window

Public Member Functions

 vk_window (const window_settings &p_settings)
 
- Public Member Functions inherited from atlas::window
uint32_t width () const
 Returns the width dimension of the window.
 
uint32_t height () const
 Returns the height dimension of the window.
 
bool available () const
 Checks if window is available to close.
 
float aspect_ratio () const
 Returns the aspect ratio of the current window.
 
uint32_t acquired_next_frame ()
 gives you the next presentable image to use and the index to retrieving that image
 
vk::vk_swapchain current_swapchain () const
 Returns the window's currently selected swapchain.
 
::vk::command_buffer active_command (uint32_t p_frame_index)
 retrieves the current command buffer using the current frame index to ensure we are processing commands to the right command buffer in our current frame
 
 operator GLFWwindow * () const
 operator overload for treating atlas::window as a GLFWwindow handle
 
 operator GLFWwindow * ()
 operator overload for treating atlas::window as a GLFWwindow handle
 
void close ()
 Closing the window operation.
 
void present (const uint32_t &p_current_frame_idx)
 does the presentation operation that is operated internally with the vulkan swapchain
 

Member Function Documentation

◆ current_active_command()

::vk::command_buffer atlas::vk::vk_window::current_active_command ( uint32_t  p_frame_idx)
inlineoverrideprivatevirtual

Implements atlas::window.

◆ native_window()

GLFWwindow * atlas::vk::vk_window::native_window ( ) const
overrideprivatevirtual

Implements atlas::window.

◆ presentation_process()

void atlas::vk::vk_window::presentation_process ( const uint32_t &  p_current_frame)
overrideprivatevirtual

Implements atlas::window.

◆ read_acquired_next_frame()

uint32_t atlas::vk::vk_window::read_acquired_next_frame ( )
overrideprivatevirtual

Implements atlas::window.

◆ settings()

window_settings atlas::vk::vk_window::settings ( ) const
overrideprivatevirtual

Implements atlas::window.

◆ window_swapchain()

vk_swapchain atlas::vk::vk_window::window_swapchain ( ) const
inlineoverrideprivatevirtual

Implements atlas::window.


The documentation for this class was generated from the following file: