![]() |
Fling Engine
0.00.1
Fling Engine is a game engine written in Vulkan
|
A logical device represents the application view of the device. More...
#include <LogicalDevice.h>
Public Member Functions | |
| LogicalDevice (class Instance *t_Instance, class PhysicalDevice *t_PhysDevice, const VkSurfaceKHR t_Surface) | |
| ~LogicalDevice () | |
| const VkDevice & | GetVkDevice () const |
| const VkQueue & | GetGraphicsQueue () const |
| const VkQueue & | GetPresentQueue () const |
| const VkQueueFlags & | GetSupportedQueues () const |
| const PhysicalDevice * | GetPhysicalDevice () const |
| const Instance * | GetInstance () const |
| UINT32 | GetGraphicsFamily () const |
| UINT32 | GetPresentFamily () const |
| void | WaitForIdle () |
Private Member Functions | |
| void | CreateQueueIndecies () |
| Get what queue Indecies/families this device should use. More... | |
| void | CreateDevice () |
| Create the Vk resoruces for this logical device. More... | |
Private Attributes | |
| VkDevice | m_Device = VK_NULL_HANDLE |
| The vulkan logical device. More... | |
| const Instance * | m_Instance |
| const PhysicalDevice * | m_PhysicalDevice |
| const VkSurfaceKHR | m_Surface |
| VkQueue | m_GraphicsQueue = VK_NULL_HANDLE |
| Handle for the graphics queue. More... | |
| VkQueue | m_PresentQueue = VK_NULL_HANDLE |
| Handle to the presentation queue. More... | |
| VkQueueFlags | m_SupportedQueues {} |
| Queue families. More... | |
| UINT32 | m_GraphicsFamily = 0 |
| UINT32 | m_PresentFamily = 0 |
| UINT32 | m_ComputeFamily = 0 |
| UINT32 | m_TransferFamily = 0 |
A logical device represents the application view of the device.
|
explicit |
| Fling::LogicalDevice::~LogicalDevice | ( | ) |
|
private |
Create the Vk resoruces for this logical device.
|
private |
Get what queue Indecies/families this device should use.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
| void Fling::LogicalDevice::WaitForIdle | ( | ) |
|
private |
|
private |
The vulkan logical device.
|
private |
|
private |
Handle for the graphics queue.
|
private |
|
private |
|
private |
|
private |
Handle to the presentation queue.
|
private |
Queue families.
|
private |
|
private |
1.8.13