Structures
VkLayerSettingEXT
Specify a layer capability to configure
The values of elements of the
VkLayerSettingsCreateInfoEXT::pSettings
array, specifying layer
settings to be configured, are:
typedef struct VkLayerSettingEXT {
const char* pLayerName;
const char* pSettingName;
VkLayerSettingTypeEXT type;
uint32_t valueCount;
const void* pValues;
} VkLayerSettingEXT;
pLayerName
is a pointer to a null-terminated UTF-8 string naming the layer to configure the setting from.pSettingName
is a pointer to a null-terminated UTF-8 string naming the setting to configure. Values ofpSettingName
that are unknown to the layer are ignored.type
is a VkLayerSettingTypeEXT value specifying the type of thepValues
values.valueCount
is the number of values used to configure the layer setting.pValues
is a pointer to an array ofvalueCount
values of the type indicated bytype
to configure the layer setting.
When multiple VkLayerSettingsCreateInfoEXT structures are chained and
the same pSettingName
is referenced for the same pLayerName
, the
value of the first reference of the layer setting is used.
Valid Usage
VUID-VkLayerSettingEXT-valueCount-10070
If valueCount
is not 0
, pValues
must be a valid pointer
to an array of valueCount
values of the type indicated by
type
Valid Usage (Implicit)
VUID-VkLayerSettingEXT-pLayerName-parameter
pLayerName
must be a null-terminated UTF-8 string
VUID-VkLayerSettingEXT-pSettingName-parameter
pSettingName
must be a null-terminated UTF-8 string
VUID-VkLayerSettingEXT-type-parameter
type
must be a valid VkLayerSettingTypeEXT value