TheAtlasEngine
 
Loading...
Searching...
No Matches
atlas.drivers.vulkan.physical_device Module Reference

Classes

struct  atlas::vulkan::surface_properties
 
class  atlas::vulkan::physical_device
 vulkan-specific implementation wrapper around VkPhysicalDevice More...
 

Functions

 physical_device (const VkInstance &p_instance)
 constructs a new vulkan physical device
 
queue_family_indices read_queue_family_indices () const
 gives you the queue families that are supported
 
VkPhysicalDeviceMemoryProperties memory_properties () const
 
uint32_t read_presentation_index (const VkSurfaceKHR &p_surface)
 
surface_properties get_surface_properties (const VkSurfaceKHR &p_surface)
 querying surface properties based on the currently specified VkSurfaceKHR handle created
 
 operator VkPhysicalDevice ()
 Allows for treating vk_physical_device as a VkPhysicalDevice handle.
 
 operator VkPhysicalDevice () const
 Allows for treating vk_physical_device as a VkPhysicalDevice handle.
 

Variables

VkSurfaceCapabilitiesKHR surface_capabilities
 
VkSurfaceFormatKHR surface_format
 
uint32_t graphics = -1
 
uint32_t compute = -1
 
uint32_t transfer = -1
 

Files

file  TheAtlasEngine/atlas/drivers/vulkan/physical_device.cppm