Blender V5.0
GHOST_ExtensionsVK Struct Reference

Public Member Functions

bool is_supported (const char *extension_name) const
bool is_supported (const vector< const char * > &extension_names)
bool enable (const char *extension_name, bool optional=false)
bool enable (const vector< const char * > &extension_names, bool optional=false)
bool is_enabled (const char *extension_name) const

Public Attributes

vector< VkExtensionProperties > extensions
vector< const char * > enabled

Detailed Description

Definition at line 152 of file GHOST_ContextVK.cc.

Member Function Documentation

◆ enable() [1/2]

bool GHOST_ExtensionsVK::enable ( const char * extension_name,
bool optional = false )
inline

◆ enable() [2/2]

bool GHOST_ExtensionsVK::enable ( const vector< const char * > & extension_names,
bool optional = false )
inline

Definition at line 197 of file GHOST_ContextVK.cc.

References enable().

◆ is_enabled()

bool GHOST_ExtensionsVK::is_enabled ( const char * extension_name) const
inline

Definition at line 206 of file GHOST_ContextVK.cc.

References enabled.

◆ is_supported() [1/2]

bool GHOST_ExtensionsVK::is_supported ( const char * extension_name) const
inline

◆ is_supported() [2/2]

bool GHOST_ExtensionsVK::is_supported ( const vector< const char * > & extension_names)
inline

Definition at line 166 of file GHOST_ContextVK.cc.

References is_supported().

Member Data Documentation

◆ enabled

vector<const char *> GHOST_ExtensionsVK::enabled

Definition at line 154 of file GHOST_ContextVK.cc.

Referenced by enable(), and is_enabled().

◆ extensions

vector<VkExtensionProperties> GHOST_ExtensionsVK::extensions

Definition at line 153 of file GHOST_ContextVK.cc.

Referenced by is_supported().


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