summaryrefslogtreecommitdiff
path: root/engine/xe_device.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'engine/xe_device.hpp')
-rwxr-xr-xengine/xe_device.hpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/engine/xe_device.hpp b/engine/xe_device.hpp
index 0906123..42b0751 100755
--- a/engine/xe_device.hpp
+++ b/engine/xe_device.hpp
@@ -21,7 +21,7 @@ struct QueueFamilyIndices {
bool isComplete() { return graphicsFamilyHasValue && presentFamilyHasValue; }
};
-class XeDevice {
+class Device {
public:
#ifdef NDEBUG
const bool enableValidationLayers = false;
@@ -29,13 +29,13 @@ class XeDevice {
const bool enableValidationLayers = true;
#endif
- XeDevice(XeWindow &window);
- ~XeDevice();
+ Device(Window &window);
+ ~Device();
- XeDevice(const XeDevice &) = delete;
- void operator=(const XeDevice &) = delete;
- XeDevice(XeDevice &&) = delete;
- XeDevice &operator=(XeDevice &&) = delete;
+ Device(const Device &) = delete;
+ void operator=(const Device &) = delete;
+ Device(Device &&) = delete;
+ Device &operator=(Device &&) = delete;
VkCommandPool getCommandPool() { return commandPool; }
VkDevice device() { return device_; }
@@ -90,7 +90,7 @@ class XeDevice {
VkInstance instance;
VkDebugUtilsMessengerEXT debugMessenger;
VkPhysicalDevice physicalDevice = VK_NULL_HANDLE;
- XeWindow &window;
+ Window &window;
VkCommandPool commandPool;
VkDevice device_;