The pNext chain of this structure is used to extend the structure with features defined by extensions. This structure can be used in GetPhysicalDeviceFeatures2 or can be included in the pNext chain of a VkDeviceCreateInfo structure, in which case it controls which features are enabled on the device in lieu of pEnabledFeatures.
sType must be STRUCTURE_TYPE_PHYSICAL_DEVICE_FEATURES_2VkPhysicalDeviceFeatures, GetPhysicalDeviceFeatures2, GetPhysicalDeviceFeatures2KHR
struct VkPhysicalDeviceFeatures2 {
VkStructureType sType;
void * pNext;
VkPhysicalDeviceFeatures features;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | VkPhysicalDeviceFeatures2.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | FEATURES
The struct member offsets. |
| public static final int | PNEXT
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| public static final int | STYPE
The struct member offsets. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | VkPhysicalDeviceFeatures2(ByteBuffer container)
Creates a |