Blender V5.3
GHOST_InstanceVK Struct Reference

Public Member Functions

 GHOST_InstanceVK ()
 ~GHOST_InstanceVK ()
bool init_extensions ()
bool create_instance (uint32_t vulkan_api_version)
bool select_physical_device (const GHOST_GPUDevice &preferred_device, const blender::Span< const char * > required_extensions)
bool create_device (const bool use_vk_ext_swapchain_maintenance1, const bool is_debug, const bool no_hw_rt, blender::Span< const char * > required_device_extensions, blender::Span< const char * > optional_device_extensions)

Public Attributes

VkInstance vk_instance = VK_NULL_HANDLE
VkPhysicalDevice vk_physical_device = VK_NULL_HANDLE
GHOST_ExtensionsVK extensions
std::optional< GHOST_DeviceVK > device

Detailed Description

Definition at line 349 of file GHOST_ContextVK.cc.

Constructor & Destructor Documentation

◆ GHOST_InstanceVK()

GHOST_InstanceVK::GHOST_InstanceVK ( )
inline

Definition at line 357 of file GHOST_ContextVK.cc.

References CLOG_ERROR, init_extensions(), and LOG.

◆ ~GHOST_InstanceVK()

GHOST_InstanceVK::~GHOST_InstanceVK ( )
inline

Definition at line 377 of file GHOST_ContextVK.cc.

References device, vk_instance, and vk_physical_device.

Member Function Documentation

◆ create_device()

◆ create_instance()

◆ init_extensions()

◆ select_physical_device()

Member Data Documentation

◆ device

◆ extensions

GHOST_ExtensionsVK GHOST_InstanceVK::extensions

◆ vk_instance

◆ vk_physical_device

VkPhysicalDevice GHOST_InstanceVK::vk_physical_device = VK_NULL_HANDLE

Definition at line 351 of file GHOST_ContextVK.cc.

Referenced by create_device(), select_physical_device(), and ~GHOST_InstanceVK().


The documentation for this struct was generated from the following file: