Class VkPhysicalDeviceVulkan11Features

All Implemented Interfaces:
AutoCloseable, NativeResource, Pointer

public class VkPhysicalDeviceVulkan11Features extends Struct<VkPhysicalDeviceVulkan11Features> implements NativeResource

 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()
      Description copied from class: Struct
      Returns sizeof(struct).
      Specified by:
      sizeof in class Struct<VkPhysicalDeviceVulkan11Features>
    • sType

      public int sType()
      Returns:
      the value of the sType field.
    • pNext

      public long pNext()
      Returns:
      the value of the pNext field.
    • storageBuffer16BitAccess

      public boolean storageBuffer16BitAccess()
      Returns:
      the value of the storageBuffer16BitAccess field.
    • uniformAndStorageBuffer16BitAccess

      public boolean uniformAndStorageBuffer16BitAccess()
      Returns:
      the value of the uniformAndStorageBuffer16BitAccess field.
    • storagePushConstant16

      public boolean storagePushConstant16()
      Returns:
      the value of the storagePushConstant16 field.
    • storageInputOutput16

      public boolean storageInputOutput16()
      Returns:
      the value of the storageInputOutput16 field.
    • multiview

      public boolean multiview()
      Returns:
      the value of the multiview field.
    • multiviewGeometryShader

      public boolean multiviewGeometryShader()
      Returns:
      the value of the multiviewGeometryShader field.
    • multiviewTessellationShader

      public boolean multiviewTessellationShader()
      Returns:
      the value of the multiviewTessellationShader field.
    • variablePointersStorageBuffer

      public boolean variablePointersStorageBuffer()
      Returns:
      the value of the variablePointersStorageBuffer field.
    • variablePointers

      public boolean variablePointers()
      Returns:
      the value of the variablePointers field.
    • protectedMemory

      public boolean protectedMemory()
      Returns:
      the value of the protectedMemory field.
    • samplerYcbcrConversion

      public boolean samplerYcbcrConversion()
      Returns:
      the value of the samplerYcbcrConversion field.
    • shaderDrawParameters

      public boolean shaderDrawParameters()
      Returns:
      the value of the shaderDrawParameters field.
    • sType

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

      public VkPhysicalDeviceVulkan11Features sType$Default()
      Sets the STRUCTURE_TYPE_PHYSICAL_DEVICE_VULKAN_1_1_FEATURES value to the sType field.
    • 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(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(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, 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, 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.