|
SimpleGL
1.1.0
A framework for platform independent rendering
|
This class wraps a Vulkan logical device. More...
#include <logical_device.hpp>
Public Member Functions | |
| Device (bool debugMode=false) | |
| Creates a new logical device. More... | |
| ~Device (void) | |
| Destroys the logical device. More... | |
| VkDevice | getHandle () |
| Returns the handle of the logical device. More... | |
| Queues | getQueues () |
| Returns the device queues. More... | |
This class wraps a Vulkan logical device.
Definition at line 36 of file logical_device.hpp.
| sgl::Device::Device | ( | bool | debugMode = false | ) |
Creates a new logical device.
| debugMode | Indicates if the logical device should include debug layers and extensions, default is false. |
Definition at line 21 of file logical_device.cpp.
| sgl::Device::~Device | ( | void | ) |
Destroys the logical device.
Definition at line 72 of file logical_device.cpp.
| VkDevice sgl::Device::getHandle | ( | ) |
Returns the handle of the logical device.
Definition at line 76 of file logical_device.cpp.
| Queues sgl::Device::getQueues | ( | ) |
Returns the device queues.
Definition at line 80 of file logical_device.cpp.
1.8.11