32 WindowTraits(int32_t in_x, int32_t in_y, uint32_t in_width, uint32_t in_height,
const std::string& title =
"vsg window");
33 WindowTraits(uint32_t in_width, uint32_t in_height,
const std::string& title =
"vsg window");
47 uint32_t width = 1280;
48 uint32_t height = 1024;
50 bool fullscreen =
false;
55 std::string windowClass =
"vsg::Window";
56 std::string windowTitle =
"vsg window";
58 bool decoration =
true;
62 bool overrideRedirect =
false;
64 uint32_t vulkanVersion = VK_API_VERSION_1_0;
67 VkFormat depthFormat = VK_FORMAT_D32_SFLOAT;
68 VkImageUsageFlags depthImageUsage = VK_IMAGE_USAGE_DEPTH_STENCIL_ATTACHMENT_BIT;
70 VkQueueFlags queueFlags = VK_QUEUE_GRAPHICS_BIT;
71 std::vector<float> queuePiorities{1.0, 0.0};
72 VkPipelineStageFlagBits imageAvailableSemaphoreWaitFlag = VK_PIPELINE_STAGE_COLOR_ATTACHMENT_OUTPUT_BIT;
75 bool debugLayer =
false;
76 bool synchronizationLayer =
false;
77 bool apiDumpLayer =
false;
78 bool debugUtils =
false;
84 vsg::Names instanceExtensionNames;
85 vsg::Names requestedLayers;
86 vsg::Names deviceExtensionNames;
87 vsg::PhysicalDeviceTypes deviceTypePreferences;
94 VkSampleCountFlags samples = VK_SAMPLE_COUNT_1_BIT;
96 std::any nativeWindow;
97 std::any systemConnection;