Class VkPhysicalDeviceVulkan11Features

java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.Struct<VkPhysicalDeviceVulkan11Features>
org.lwjgl.vulkan.VkPhysicalDeviceVulkan11Features
All Implemented Interfaces:
AutoCloseable, org.lwjgl.system.NativeResource, org.lwjgl.system.Pointer

public class VkPhysicalDeviceVulkan11Features extends org.lwjgl.system.Struct<VkPhysicalDeviceVulkan11Features> implements org.lwjgl.system.NativeResource
Structure describing the Vulkan 1.1 features that can be supported by an implementation.
Description

If the VkPhysicalDeviceVulkan11Features structure is included in the pNext chain of the VkPhysicalDeviceFeatures2 structure passed to GetPhysicalDeviceFeatures2, it is filled in to indicate whether each corresponding feature is supported. VkPhysicalDeviceVulkan11Features can also be used in the pNext chain of VkDeviceCreateInfo to selectively enable these features.

Valid Usage (Implicit)

Layout


 struct VkPhysicalDeviceVulkan11Features {
     VkStructureType sType();
     void * pNext();
     VkBool32 storageBuffer16BitAccess();
     VkBool32 uniformAndStorageBuffer16BitAccess();
     VkBool32 storagePushConstant16();
     VkBool32 storageInputOutput16();
     VkBool32 multiview();
     VkBool32 multiviewGeometryShader();
     VkBool32 multiviewTessellationShader();
     VkBool32 variablePointersStorageBuffer();
     VkBool32 variablePointers();
     VkBool32 protectedMemory();
     VkBool32 samplerYcbcrConversion();
     VkBool32 shaderDrawParameters();
 }
  • Field Details

    • SIZEOF

      public static final int SIZEOF
      The struct size in bytes.
    • ALIGNOF

      public static final int ALIGNOF
      The struct alignment in bytes.
    • STYPE

      public static final int STYPE
      The struct member offsets.
    • PNEXT

      public static final int PNEXT
      The struct member offsets.
    • STORAGEBUFFER16BITACCESS

      public static final int STORAGEBUFFER16BITACCESS
      The struct member offsets.
    • UNIFORMANDSTORAGEBUFFER16BITACCESS

      public static final int UNIFORMANDSTORAGEBUFFER16BITACCESS
      The struct member offsets.
    • STORAGEPUSHCONSTANT16

      public static final int STORAGEPUSHCONSTANT16
      The struct member offsets.
    • STORAGEINPUTOUTPUT16

      public static final int STORAGEINPUTOUTPUT16
      The struct member offsets.
    • MULTIVIEW

      public static final int MULTIVIEW
      The struct member offsets.
    • MULTIVIEWGEOMETRYSHADER

      public static final int MULTIVIEWGEOMETRYSHADER
      The struct member offsets.
    • MULTIVIEWTESSELLATIONSHADER

      public static final int MULTIVIEWTESSELLATIONSHADER
      The struct member offsets.
    • VARIABLEPOINTERSSTORAGEBUFFER

      public static final int VARIABLEPOINTERSSTORAGEBUFFER
      The struct member offsets.
    • VARIABLEPOINTERS

      public static final int VARIABLEPOINTERS
      The struct member offsets.
    • PROTECTEDMEMORY

      public static final int PROTECTEDMEMORY
      The struct member offsets.
    • SAMPLERYCBCRCONVERSION

      public static final int SAMPLERYCBCRCONVERSION
      The struct member offsets.
    • SHADERDRAWPARAMETERS

      public static final int SHADERDRAWPARAMETERS
      The struct member offsets.
  • Constructor Details

    • VkPhysicalDeviceVulkan11Features

      public VkPhysicalDeviceVulkan11Features(ByteBuffer container)
      Creates a VkPhysicalDeviceVulkan11Features instance at the current position of the specified ByteBuffer container. Changes to the buffer's content will be visible to the struct instance and vice versa.

      The created instance holds a strong reference to the container object.

  • Method Details

    • sizeof

      public int sizeof()
      Specified by:
      sizeof in class org.lwjgl.system.Struct<VkPhysicalDeviceVulkan11Features>
    • sType

      public int sType()
      a VkStructureType value identifying this structure.
    • pNext

      public long pNext()
      NULL or a pointer to a structure extending this structure.
    • storageBuffer16BitAccess

      public boolean storageBuffer16BitAccess()
      specifies whether objects in the StorageBuffer, ShaderRecordBufferKHR, or PhysicalStorageBuffer storage class with the Block decoration can have 16-bit integer and 16-bit floating-point members. If this feature is not enabled, 16-bit integer or 16-bit floating-point members must not be used in such objects. This also specifies whether shader modules can declare the StorageBuffer16BitAccess capability.
    • uniformAndStorageBuffer16BitAccess

      public boolean uniformAndStorageBuffer16BitAccess()
      specifies whether objects in the Uniform storage class with the Block decoration can have 16-bit integer and 16-bit floating-point members. If this feature is not enabled, 16-bit integer or 16-bit floating-point members must not be used in such objects. This also specifies whether shader modules can declare the UniformAndStorageBuffer16BitAccess capability.
    • storagePushConstant16

      public boolean storagePushConstant16()
      specifies whether objects in the PushConstant storage class can have 16-bit integer and 16-bit floating-point members. If this feature is not enabled, 16-bit integer or floating-point members must not be used in such objects. This also specifies whether shader modules can declare the StoragePushConstant16 capability.
    • storageInputOutput16

      public boolean storageInputOutput16()
      specifies whether objects in the Input and Output storage classes can have 16-bit integer and 16-bit floating-point members. If this feature is not enabled, 16-bit integer or 16-bit floating-point members must not be used in such objects. This also specifies whether shader modules can declare the StorageInputOutput16 capability.
    • multiview

      public boolean multiview()
      specifies whether the implementation supports multiview rendering within a render pass. If this feature is not enabled, the view mask of each subpass must always be zero.
    • multiviewGeometryShader

      public boolean multiviewGeometryShader()
      specifies whether the implementation supports multiview rendering within a render pass, with geometry shaders. If this feature is not enabled, then a pipeline compiled against a subpass with a non-zero view mask must not include a geometry shader.
    • multiviewTessellationShader

      public boolean multiviewTessellationShader()
      specifies whether the implementation supports multiview rendering within a render pass, with tessellation shaders. If this feature is not enabled, then a pipeline compiled against a subpass with a non-zero view mask must not include any tessellation shaders.
    • variablePointersStorageBuffer

      public boolean 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

      public boolean 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.
    • protectedMemory

      public boolean protectedMemory()
      specifies whether protected memory is supported.
    • samplerYcbcrConversion

      public boolean samplerYcbcrConversion()
      specifies whether the implementation supports sampler Y′CBCR conversion. If samplerYcbcrConversion is FALSE, sampler Y′CBCR conversion is not supported, and samplers using sampler Y′CBCR conversion must not be used.
    • shaderDrawParameters

      public boolean shaderDrawParameters()
      specifies whether the implementation supports the SPIR-V DrawParameters capability. When this feature is not enabled, shader modules must not declare the SPV_KHR_shader_draw_parameters extension or the DrawParameters capability.
    • sType

      public VkPhysicalDeviceVulkan11Features sType(int value)
      Sets the specified value to the sType() field.
    • sType$Default

      public VkPhysicalDeviceVulkan11Features sType$Default()
    • pNext

      public VkPhysicalDeviceVulkan11Features pNext(long value)
      Sets the specified value to the pNext() field.
    • storageBuffer16BitAccess

      public VkPhysicalDeviceVulkan11Features storageBuffer16BitAccess(boolean value)
      Sets the specified value to the storageBuffer16BitAccess() field.
    • uniformAndStorageBuffer16BitAccess

      public VkPhysicalDeviceVulkan11Features uniformAndStorageBuffer16BitAccess(boolean value)
      Sets the specified value to the uniformAndStorageBuffer16BitAccess() field.
    • storagePushConstant16

      public VkPhysicalDeviceVulkan11Features storagePushConstant16(boolean value)
      Sets the specified value to the storagePushConstant16() field.
    • storageInputOutput16

      public VkPhysicalDeviceVulkan11Features storageInputOutput16(boolean value)
      Sets the specified value to the storageInputOutput16() field.
    • multiview

      public VkPhysicalDeviceVulkan11Features multiview(boolean value)
      Sets the specified value to the multiview() field.
    • multiviewGeometryShader

      public VkPhysicalDeviceVulkan11Features multiviewGeometryShader(boolean value)
      Sets the specified value to the multiviewGeometryShader() field.
    • multiviewTessellationShader

      public VkPhysicalDeviceVulkan11Features multiviewTessellationShader(boolean value)
      Sets the specified value to the multiviewTessellationShader() field.
    • variablePointersStorageBuffer

      public VkPhysicalDeviceVulkan11Features variablePointersStorageBuffer(boolean value)
      Sets the specified value to the variablePointersStorageBuffer() field.
    • variablePointers

      public VkPhysicalDeviceVulkan11Features variablePointers(boolean value)
      Sets the specified value to the variablePointers() field.
    • protectedMemory

      public VkPhysicalDeviceVulkan11Features protectedMemory(boolean value)
      Sets the specified value to the protectedMemory() field.
    • samplerYcbcrConversion

      public VkPhysicalDeviceVulkan11Features samplerYcbcrConversion(boolean value)
      Sets the specified value to the samplerYcbcrConversion() field.
    • shaderDrawParameters

      public VkPhysicalDeviceVulkan11Features shaderDrawParameters(boolean value)
      Sets the specified value to the shaderDrawParameters() field.
    • set

      public VkPhysicalDeviceVulkan11Features set(int sType, long pNext, boolean storageBuffer16BitAccess, boolean uniformAndStorageBuffer16BitAccess, boolean storagePushConstant16, boolean storageInputOutput16, boolean multiview, boolean multiviewGeometryShader, boolean multiviewTessellationShader, boolean variablePointersStorageBuffer, boolean variablePointers, boolean protectedMemory, boolean samplerYcbcrConversion, boolean shaderDrawParameters)
      Initializes this struct with the specified values.
    • set

      Copies the specified struct data to this struct.
      Parameters:
      src - the source struct
      Returns:
      this struct
    • malloc

      public static VkPhysicalDeviceVulkan11Features malloc()
      Returns a new VkPhysicalDeviceVulkan11Features instance allocated with memAlloc. The instance must be explicitly freed.
    • calloc

      public static VkPhysicalDeviceVulkan11Features calloc()
      Returns a new VkPhysicalDeviceVulkan11Features instance allocated with memCalloc. The instance must be explicitly freed.
    • create

      public static VkPhysicalDeviceVulkan11Features create()
      Returns a new VkPhysicalDeviceVulkan11Features instance allocated with BufferUtils.
    • create

      public static VkPhysicalDeviceVulkan11Features create(long address)
      Returns a new VkPhysicalDeviceVulkan11Features instance for the specified memory address.
    • createSafe

      public static @Nullable VkPhysicalDeviceVulkan11Features createSafe(long address)
      Like create, but returns null if address is NULL.
    • malloc

      public static VkPhysicalDeviceVulkan11Features.Buffer malloc(int capacity)
      Returns a new VkPhysicalDeviceVulkan11Features.Buffer instance allocated with memAlloc. The instance must be explicitly freed.
      Parameters:
      capacity - the buffer capacity
    • calloc

      public static VkPhysicalDeviceVulkan11Features.Buffer calloc(int capacity)
      Returns a new VkPhysicalDeviceVulkan11Features.Buffer instance allocated with memCalloc. The instance must be explicitly freed.
      Parameters:
      capacity - the buffer capacity
    • create

      public static VkPhysicalDeviceVulkan11Features.Buffer create(int capacity)
      Returns a new VkPhysicalDeviceVulkan11Features.Buffer instance allocated with BufferUtils.
      Parameters:
      capacity - the buffer capacity
    • create

      public static VkPhysicalDeviceVulkan11Features.Buffer create(long address, int capacity)
      Create a VkPhysicalDeviceVulkan11Features.Buffer instance at the specified memory.
      Parameters:
      address - the memory address
      capacity - the buffer capacity
    • createSafe

      public static @Nullable VkPhysicalDeviceVulkan11Features.Buffer createSafe(long address, int capacity)
      Like create, but returns null if address is NULL.
    • malloc

      public static VkPhysicalDeviceVulkan11Features malloc(org.lwjgl.system.MemoryStack stack)
      Returns a new VkPhysicalDeviceVulkan11Features instance allocated on the specified MemoryStack.
      Parameters:
      stack - the stack from which to allocate
    • calloc

      public static VkPhysicalDeviceVulkan11Features calloc(org.lwjgl.system.MemoryStack stack)
      Returns a new VkPhysicalDeviceVulkan11Features instance allocated on the specified MemoryStack and initializes all its bits to zero.
      Parameters:
      stack - the stack from which to allocate
    • malloc

      public static VkPhysicalDeviceVulkan11Features.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
      Returns a new VkPhysicalDeviceVulkan11Features.Buffer instance allocated on the specified MemoryStack.
      Parameters:
      capacity - the buffer capacity
      stack - the stack from which to allocate
    • calloc

      public static VkPhysicalDeviceVulkan11Features.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
      Returns a new VkPhysicalDeviceVulkan11Features.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero.
      Parameters:
      capacity - the buffer capacity
      stack - the stack from which to allocate
    • nsType

      public static int nsType(long struct)
      Unsafe version of sType().
    • npNext

      public static long npNext(long struct)
      Unsafe version of pNext().
    • nstorageBuffer16BitAccess

      public static int nstorageBuffer16BitAccess(long struct)
      Unsafe version of storageBuffer16BitAccess().
    • nuniformAndStorageBuffer16BitAccess

      public static int nuniformAndStorageBuffer16BitAccess(long struct)
    • nstoragePushConstant16

      public static int nstoragePushConstant16(long struct)
      Unsafe version of storagePushConstant16().
    • nstorageInputOutput16

      public static int nstorageInputOutput16(long struct)
      Unsafe version of storageInputOutput16().
    • nmultiview

      public static int nmultiview(long struct)
      Unsafe version of multiview().
    • nmultiviewGeometryShader

      public static int nmultiviewGeometryShader(long struct)
      Unsafe version of multiviewGeometryShader().
    • nmultiviewTessellationShader

      public static int nmultiviewTessellationShader(long struct)
    • nvariablePointersStorageBuffer

      public static int nvariablePointersStorageBuffer(long struct)
    • nvariablePointers

      public static int nvariablePointers(long struct)
      Unsafe version of variablePointers().
    • nprotectedMemory

      public static int nprotectedMemory(long struct)
      Unsafe version of protectedMemory().
    • nsamplerYcbcrConversion

      public static int nsamplerYcbcrConversion(long struct)
      Unsafe version of samplerYcbcrConversion().
    • nshaderDrawParameters

      public static int nshaderDrawParameters(long struct)
      Unsafe version of shaderDrawParameters().
    • nsType

      public static void nsType(long struct, int value)
      Unsafe version of sType.
    • npNext

      public static void npNext(long struct, long value)
      Unsafe version of pNext.
    • nstorageBuffer16BitAccess

      public static void nstorageBuffer16BitAccess(long struct, int value)
      Unsafe version of storageBuffer16BitAccess.
    • nuniformAndStorageBuffer16BitAccess

      public static void nuniformAndStorageBuffer16BitAccess(long struct, int value)
    • nstoragePushConstant16

      public static void nstoragePushConstant16(long struct, int value)
      Unsafe version of storagePushConstant16.
    • nstorageInputOutput16

      public static void nstorageInputOutput16(long struct, int value)
      Unsafe version of storageInputOutput16.
    • nmultiview

      public static void nmultiview(long struct, int value)
      Unsafe version of multiview.
    • nmultiviewGeometryShader

      public static void nmultiviewGeometryShader(long struct, int value)
      Unsafe version of multiviewGeometryShader.
    • nmultiviewTessellationShader

      public static void nmultiviewTessellationShader(long struct, int value)
      Unsafe version of multiviewTessellationShader.
    • nvariablePointersStorageBuffer

      public static void nvariablePointersStorageBuffer(long struct, int value)
    • nvariablePointers

      public static void nvariablePointers(long struct, int value)
      Unsafe version of variablePointers.
    • nprotectedMemory

      public static void nprotectedMemory(long struct, int value)
      Unsafe version of protectedMemory.
    • nsamplerYcbcrConversion

      public static void nsamplerYcbcrConversion(long struct, int value)
      Unsafe version of samplerYcbcrConversion.
    • nshaderDrawParameters

      public static void nshaderDrawParameters(long struct, int value)
      Unsafe version of shaderDrawParameters.