KDGpu::GraphicsApi
Module: Public API
GraphicsApi is the link between our Application and the Rendering API.  More...
#include <KDGpu/graphics_api.h>
Inherited by KDGpu::VulkanGraphicsApi
Public Types
 | 
Name | 
| enum class uint8_t | 
Api { Vulkan = 0, UserDefined = 255} | 
Public Functions
Protected Functions
Protected Attributes
Detailed Description
 | class KDGpu::GraphicsApi;
  | 
 
GraphicsApi is the link between our Application and the Rendering API. 
See: KDGpu::VulkanGraphicsAPI 
Public Types Documentation
enum Api
| Enumerator | 
Value | 
Description | 
| Vulkan | 
0 | 
 | 
| UserDefined | 
255 | 
 | 
Public Functions Documentation
function ~GraphicsApi
function api
function apiName
 | virtual const char * apiName() const =0
  | 
 
Reimplemented by: KDGpu::VulkanGraphicsApi::apiName
function createInstance
 | Instance createInstance(
    const InstanceOptions & options =InstanceOptions()
)
  | 
 
Create an Instance object given the InstanceOptionsoptions. 
function resourceManager
 | inline ResourceManager * resourceManager()
  | 
 
Returns the ResourceManager instance for the GraphicsApi. 
function resourceManager
 | inline const ResourceManager * resourceManager() const
  | 
 
Protected Functions Documentation
function GraphicsApi
 | explicit GraphicsApi(
    Api api
)
  | 
 
Protected Attributes Documentation
variable m_resourceManager
 | ResourceManager * m_resourceManager { nullptr };
  | 
 
variable m_api
 | Api m_api { Api::UserDefined };
  | 
 
Updated on 2025-07-08 at 12:01:11 +0000