Handle to the main interface of Vulkan.
More...
#include <RV_Instance.h>
Handle to the main interface of Vulkan.
Definition at line 38 of file RV_Instance.h.
RV_Instance::~RV_Instance |
( |
| ) |
|
Create the global vulkan instance. Used only at startup.
static void RV_Instance::destroyInstance |
( |
| ) |
|
|
static |
Destroy the global instance. For system exit.
static void RV_Instance::exitCallback |
( |
void * |
| ) |
|
|
static |
The exit callback that's called when the vulkan instance is about to be destroyed.
bool RV_Instance::extEnabled |
( |
const char * |
vk_ext_name | ) |
const |
Query if the given Vulkan extension is enabled in the device.
Get text information about the current driver and device.
Our Vulkan descriptor set allocator.
Definition at line 74 of file RV_Instance.h.
VkDevice RV_Instance::getDevice |
( |
| ) |
|
Get the raw vulkan device assocated with this instance.
The vendor of the device (AMD, Intel, NVidia, MoltenVK)
uint32_t RV_Instance::getDeviceVersion |
( |
| ) |
|
The Vulkan version as implemented by the device driver.
Object containing function pointers to Vulkan extensions.
Definition at line 108 of file RV_Instance.h.
RV_VKQueue& RV_Instance::getGraphicsQueue |
( |
| ) |
|
|
inline |
Main Queue supporting graphics, compute and transfer.
Definition at line 70 of file RV_Instance.h.
The global vulkan instance, creating it if it hasn't been created yet.
static uint32_t RV_Instance::getInstanceVersion |
( |
| ) |
|
|
static |
float RV_Instance::getLineWidthGranularity |
( |
| ) |
const |
Granularity of Line width setting.
int RV_Instance::getMaxColorSamples |
( |
| ) |
const |
Maximum supported number of color samples in a multisample framebuffer.
int RV_Instance::getMaxDepthSamples |
( |
| ) |
const |
Maximum supported number of depth samples in a multisample framebuffer.
int RV_Instance::getMaxTextureSize2D |
( |
| ) |
const |
Maximum size of 2D texture.
int RV_Instance::getMaxTextureSize3D |
( |
| ) |
const |
Maximum size of 3D texture.
RV_VKMemAllocator& RV_Instance::getMemAllocator |
( |
| ) |
|
|
inline |
Our Vulkan memory allocator implementation.
Definition at line 72 of file RV_Instance.h.
Raw Vulkan memory properties of the physical device.
VkPhysicalDevice RV_Instance::getPhysicalDevice |
( |
| ) |
|
Get the raw vulkan physical device assocated with this instance.
Returns the physical device features that have been enabled on our device
VkInstance RV_Instance::getVkInst |
( |
| ) |
|
Get the raw vulkan instance.
static bool RV_Instance::hasInstance |
( |
| ) |
|
|
static |
Returns whether the global vulkan instance exists.
bool RV_Instance::initializeDevice |
( |
| ) |
|
Set up Vulkan once the instance is created.
static bool RV_Instance::usingDebugValidation |
( |
| ) |
|
|
static |
True if the debug validation layers are active.
static bool RV_Instance::usingVulkanMultithreading |
( |
| ) |
|
|
static |
True if Vulkan multithreading env var is set to true.
void RV_Instance::waitDeviceIdle |
( |
| ) |
|
Block until the device has finished all commands (Call with care!)
The documentation for this class was generated from the following file: