API_Specification » APISpec_Extending_Vulkan module

Chapter 37: Specification

Contents

Classes

struct VV::Corridors::ExtensionProperties
Structure specifying an extension properties.
struct VV::Corridors::LayerProperties

Functions

static auto QueryAvailableLayers(ui32& _numContainer, LayerProperties* _propertiesContainer) -> EResult
Query the available layers.
static auto QueryAvailableAppExtensions(RoCStr _layerName, ui32& _numProperties, ExtensionProperties* _propertiesContainer) -> EResult
Query the available instance extensions.
static auto QueryExtensionProperties(Handle _handle, RoCStr _layerName, ui32* _numExtensions, ExtensionProperties* _extensionPropertiesContainer) -> EResult
Device extensions add new device-level functionality to the API, outside of the core specification.

Function documentation

static EResult QueryAvailableLayers(ui32& _numContainer, LayerProperties* _propertiesContainer)

Query the available layers.

Parameters
_numContainer Referenced object that will either specify the number of available layers to retrieve (if _propertiesContainer is not null), or be written to with the number of available layers (if _propertiesContainer is null).
_propertiesContainer Pointer to a properties container array that will be populated if the pointer is not null.
Returns Returns EResult code (Indicating whether query was successful)

Specification

static EResult QueryAvailableAppExtensions(RoCStr _layerName, ui32& _numProperties, ExtensionProperties* _propertiesContainer)

Query the available instance extensions.

Specification.

static EResult QueryExtensionProperties(Handle _handle, RoCStr _layerName, ui32* _numExtensions, ExtensionProperties* _extensionPropertiesContainer)

Device extensions add new device-level functionality to the API, outside of the core specification.

Query the extensions available to a given physical device.

When pLayerName parameter is NULL, only extensions provided by the Vulkan implementation or by implicitly enabled layers are returned. When pLayerName is the name of a layer, the device extensions provided by that layer are returned.

Specification