23 class rv_InstanceData;
28 class RV_VKCommandPool;
30 class RV_VKCommandBufferAllocator;
32 class RV_VKMemAllocator;
42 static void destroyInstance();
45 static void exitCallback(
void*);
53 bool initializeDevice();
58 VkPhysicalDevice getPhysicalDevice();
60 VkInstance getVkInst();
77 static uint32_t getInstanceVersion();
80 uint32_t getDeviceVersion();
85 int getMaxColorSamples()
const;
87 int getMaxDepthSamples()
const;
93 bool extEnabled(
const char* vk_ext_name )
const;
96 void waitDeviceIdle();
100 const void* getPhysicalDeviceFeatures(
VkStructureType feature_type)
const;
RV_VKMemAllocator & getMemAllocator()
Our Vulkan memory allocator implementation.
static const uint32_t requestedInstanceVersion
RV_DescriptorAllocator & getDescAllocator()
Our Vulkan descriptor set allocator.
std::unique_ptr< T, Deleter > UT_UniquePtr
A smart pointer for unique ownership of dynamically allocated objects.
UT_UniquePtr< RV_Render > myRender
Handle to the main interface of Vulkan.
RV_VKExt * getExt()
Object containing function pointers to Vulkan extensions.
UT_UniquePtr< RV_VKQueue > myGraphicsQueue