Vireo  0.0
Vireo 3D Rendering Hardware Interface
BackendConfiguration Struct Reference

Detailed Description

Configuration passed to Vireo::create() to select a backend and tune debug options.

Public Attributes

Backend backend = Backend::VULKAN
 Graphics backend to use (Vulkan or DirectX 12) More...
 
DebugCallback debugCallback = nullptr
 Optional callback that receives validation and debug messages; may be nullptr to disable. More...
 
std::vector< const char * > vulkanFilteredValidationMessages = { }
 Vulkan validation layer messages whose text contains any of these substrings will be silently filtered. More...
 
uint32_t directX12MaxDescriptors = 3000
 Maximum number of CBV/SRV/UAV descriptors in the DirectX 12 global heap. More...
 
uint32_t directX12MaxSamplers = 100
 Maximum number of sampler descriptors in the DirectX 12 global sampler heap. More...
 

Member Data Documentation

Backend backend = Backend::VULKAN

Graphics backend to use (Vulkan or DirectX 12)

DebugCallback debugCallback = nullptr

Optional callback that receives validation and debug messages; may be nullptr to disable.

uint32_t directX12MaxDescriptors = 3000

Maximum number of CBV/SRV/UAV descriptors in the DirectX 12 global heap.

uint32_t directX12MaxSamplers = 100

Maximum number of sampler descriptors in the DirectX 12 global sampler heap.

std::vector<const char*> vulkanFilteredValidationMessages = { }

Vulkan validation layer messages whose text contains any of these substrings will be silently filtered.