Class VkPhysicalDeviceVariablePointersFeatures

  • All Implemented Interfaces:
    java.lang.AutoCloseable, org.lwjgl.system.NativeResource, org.lwjgl.system.Pointer
    Direct Known Subclasses:
    VkPhysicalDeviceVariablePointerFeatures, VkPhysicalDeviceVariablePointerFeaturesKHR, VkPhysicalDeviceVariablePointersFeaturesKHR

    public class VkPhysicalDeviceVariablePointersFeatures
    extends org.lwjgl.system.Struct
    implements org.lwjgl.system.NativeResource
    Structure describing variable pointers features that can be supported by an implementation.
    Description

    If the VkPhysicalDeviceVariablePointersFeatures structure is included in the pNext chain of VkPhysicalDeviceFeatures2, it is filled with values indicating whether each feature is supported. VkPhysicalDeviceVariablePointersFeatures can also be used in the pNext chain of VkDeviceCreateInfo to enable the features.

    Valid Usage
    • If variablePointers is enabled then variablePointersStorageBuffer must also be enabled.
    Valid Usage (Implicit)

    Member documentation

    • variablePointersStorageBuffer – specifies whether the implementation supports the SPIR-V VariablePointersStorageBuffer capability. When this feature is not enabled, shader modules must not declare the SPV_KHR_variable_pointers extension or the VariablePointersStorageBuffer capability.
    • variablePointers – specifies whether the implementation supports the SPIR-V VariablePointers capability. When this feature is not enabled, shader modules must not declare the VariablePointers capability.

    Layout

    
     struct VkPhysicalDeviceVariablePointersFeatures {
         VkStructureType sType;
         void * pNext;
         VkBool32 variablePointersStorageBuffer;
         VkBool32 variablePointers;
     }