OrbitEngine::Application::priv::VKContext class

Base classes

class ContextImpl

Public static functions

static auto debugCallback(VkDebugReportFlagsEXT flags, VkDebugReportObjectTypeEXT objType, uint64_t obj, size_t location, int32_t code, const char* layerPrefix, const char* msg, void* userData) -> VKAPI_ATTR VkBool32 VKAPI_CALL
static auto GetCurrent() -> VKContext*
static auto ChooseSwapSurfaceFormat(const std::vector<VkSurfaceFormatKHR>& availableFormats) -> VkSurfaceFormatKHR
static auto ChooseSwapPresentMode(const std::vector<VkPresentModeKHR>& availablePresentModes) -> VkPresentModeKHR
static auto ChooseSwapExtent(const VkSurfaceCapabilitiesKHR& capabilities) -> VkExtent2D

Constructors, destructors, conversion operators

VKContext(WindowImpl* window, VKContext* sharedContext)
~VKContext()

Public functions

void prepare() virtual
void present() virtual
void makeCurrent(bool active) virtual
auto isValidationLayerAvailable(const char* name) -> bool
auto isExtensionAvailable(const char* name) -> bool
auto isDeviceExtensionAvailable(const char* name) -> bool
auto getDevice() -> const VkDevice
auto getExtent() -> const VkExtent2D
auto getRenderPass() -> const VkRenderPass
auto getAPI() -> const RenderAPI override
auto getName() -> const std::string override