SimpleGL  1.1.0
A framework for platform independent rendering
Public Member Functions | List of all members
sgl::Device Class Reference

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...
 

Detailed Description

This class wraps a Vulkan logical device.

Definition at line 36 of file logical_device.hpp.

Constructor & Destructor Documentation

sgl::Device::Device ( bool  debugMode = false)

Creates a new logical device.

Parameters
debugModeIndicates 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.

Member Function Documentation

VkDevice sgl::Device::getHandle ( )

Returns the handle of the logical device.

Returns
The handle of the logical device.

Definition at line 76 of file logical_device.cpp.

Queues sgl::Device::getQueues ( )

Returns the device queues.

Returns
The device queues.

Definition at line 80 of file logical_device.cpp.


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