CeresEngine 0.2.0
A game development framework
Loading...
Searching...
No Matches
CeresEngine::VKRenderAPIDescriptor Struct Referencefinal

#include <CeresEngine/RenderAPI/Vulkan/VKRenderAPI.hpp>

Public Attributes

bool debug = false
 If set to true, will enable the "VK_EXT_debug_utils" extension.
 
Vector< StringrequiredExtensions = {}
 List of required Vulkan extensions.
 
Vector< StringoptionalExtensions = {}
 List of optional Vulkan extensions.
 
Vector< StringrequiredLayers = {}
 List of required Vulkan layers.
 
Vector< StringoptionalLayers = {}
 List of optional Vulkan layers.
 
DevicePickerFunc defaultDevicePicker = nullptr
 A function that picks the default device.
 

Member Data Documentation

◆ debug

bool CeresEngine::VKRenderAPIDescriptor::debug = false

If set to true, will enable the "VK_EXT_debug_utils" extension.

Enabling debug will also allow labels and object names to be set.

◆ defaultDevicePicker

DevicePickerFunc CeresEngine::VKRenderAPIDescriptor::defaultDevicePicker = nullptr

A function that picks the default device.

◆ optionalExtensions

Vector<String> CeresEngine::VKRenderAPIDescriptor::optionalExtensions = {}

List of optional Vulkan extensions.

◆ optionalLayers

Vector<String> CeresEngine::VKRenderAPIDescriptor::optionalLayers = {}

List of optional Vulkan layers.

◆ requiredExtensions

Vector<String> CeresEngine::VKRenderAPIDescriptor::requiredExtensions = {}

List of required Vulkan extensions.

Remarks
For example, the extension "VK_EXT_debug_report" can be used to enable debug output from the Vulkan API.

◆ requiredLayers

Vector<String> CeresEngine::VKRenderAPIDescriptor::requiredLayers = {}

List of required Vulkan layers.

Remarks
For example, the layer "VK_LAYER_LUNARG_core_validation" can be used for a robust validation.

The documentation for this struct was generated from the following file: