Class VkPhysicalDeviceVulkan11Properties

All Implemented Interfaces:
AutoCloseable, NativeResource, Pointer

public class VkPhysicalDeviceVulkan11Properties extends Struct<VkPhysicalDeviceVulkan11Properties> implements NativeResource

 struct VkPhysicalDeviceVulkan11Properties {
     VkStructureType sType;
     void * pNext;
     uint8_t deviceUUID[VK_UUID_SIZE];
     uint8_t driverUUID[VK_UUID_SIZE];
     uint8_t deviceLUID[VK_LUID_SIZE];
     uint32_t deviceNodeMask;
     VkBool32 deviceLUIDValid;
     uint32_t subgroupSize;
     VkShaderStageFlags subgroupSupportedStages;
     VkSubgroupFeatureFlags subgroupSupportedOperations;
     VkBool32 subgroupQuadOperationsInAllStages;
     VkPointClippingBehavior pointClippingBehavior;
     uint32_t maxMultiviewViewCount;
     uint32_t maxMultiviewInstanceIndex;
     VkBool32 protectedNoFault;
     uint32_t maxPerSetDescriptors;
     VkDeviceSize maxMemoryAllocationSize;
 }
  • 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.
    • DEVICEUUID

      public static final int DEVICEUUID
      The struct member offsets.
    • DRIVERUUID

      public static final int DRIVERUUID
      The struct member offsets.
    • DEVICELUID

      public static final int DEVICELUID
      The struct member offsets.
    • DEVICENODEMASK

      public static final int DEVICENODEMASK
      The struct member offsets.
    • DEVICELUIDVALID

      public static final int DEVICELUIDVALID
      The struct member offsets.
    • SUBGROUPSIZE

      public static final int SUBGROUPSIZE
      The struct member offsets.
    • SUBGROUPSUPPORTEDSTAGES

      public static final int SUBGROUPSUPPORTEDSTAGES
      The struct member offsets.
    • SUBGROUPSUPPORTEDOPERATIONS

      public static final int SUBGROUPSUPPORTEDOPERATIONS
      The struct member offsets.
    • SUBGROUPQUADOPERATIONSINALLSTAGES

      public static final int SUBGROUPQUADOPERATIONSINALLSTAGES
      The struct member offsets.
    • POINTCLIPPINGBEHAVIOR

      public static final int POINTCLIPPINGBEHAVIOR
      The struct member offsets.
    • MAXMULTIVIEWVIEWCOUNT

      public static final int MAXMULTIVIEWVIEWCOUNT
      The struct member offsets.
    • MAXMULTIVIEWINSTANCEINDEX

      public static final int MAXMULTIVIEWINSTANCEINDEX
      The struct member offsets.
    • PROTECTEDNOFAULT

      public static final int PROTECTEDNOFAULT
      The struct member offsets.
    • MAXPERSETDESCRIPTORS

      public static final int MAXPERSETDESCRIPTORS
      The struct member offsets.
    • MAXMEMORYALLOCATIONSIZE

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

    • VkPhysicalDeviceVulkan11Properties

      public VkPhysicalDeviceVulkan11Properties(ByteBuffer container)
      Creates a VkPhysicalDeviceVulkan11Properties 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<VkPhysicalDeviceVulkan11Properties>
    • sType

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

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

      public ByteBuffer deviceUUID()
      Returns:
      a ByteBuffer view of the deviceUUID field.
    • deviceUUID

      public byte deviceUUID(int index)
      Returns:
      the value at the specified index of the deviceUUID field.
    • driverUUID

      public ByteBuffer driverUUID()
      Returns:
      a ByteBuffer view of the driverUUID field.
    • driverUUID

      public byte driverUUID(int index)
      Returns:
      the value at the specified index of the driverUUID field.
    • deviceLUID

      public ByteBuffer deviceLUID()
      Returns:
      a ByteBuffer view of the deviceLUID field.
    • deviceLUID

      public byte deviceLUID(int index)
      Returns:
      the value at the specified index of the deviceLUID field.
    • deviceNodeMask

      public int deviceNodeMask()
      Returns:
      the value of the deviceNodeMask field.
    • deviceLUIDValid

      public boolean deviceLUIDValid()
      Returns:
      the value of the deviceLUIDValid field.
    • subgroupSize

      public int subgroupSize()
      Returns:
      the value of the subgroupSize field.
    • subgroupSupportedStages

      public int subgroupSupportedStages()
      Returns:
      the value of the subgroupSupportedStages field.
    • subgroupSupportedOperations

      public int subgroupSupportedOperations()
      Returns:
      the value of the subgroupSupportedOperations field.
    • subgroupQuadOperationsInAllStages

      public boolean subgroupQuadOperationsInAllStages()
      Returns:
      the value of the subgroupQuadOperationsInAllStages field.
    • pointClippingBehavior

      public int pointClippingBehavior()
      Returns:
      the value of the pointClippingBehavior field.
    • maxMultiviewViewCount

      public int maxMultiviewViewCount()
      Returns:
      the value of the maxMultiviewViewCount field.
    • maxMultiviewInstanceIndex

      public int maxMultiviewInstanceIndex()
      Returns:
      the value of the maxMultiviewInstanceIndex field.
    • protectedNoFault

      public boolean protectedNoFault()
      Returns:
      the value of the protectedNoFault field.
    • maxPerSetDescriptors

      public int maxPerSetDescriptors()
      Returns:
      the value of the maxPerSetDescriptors field.
    • maxMemoryAllocationSize

      public long maxMemoryAllocationSize()
      Returns:
      the value of the maxMemoryAllocationSize field.
    • sType

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

      public VkPhysicalDeviceVulkan11Properties sType$Default()
      Sets the STRUCTURE_TYPE_PHYSICAL_DEVICE_VULKAN_1_1_PROPERTIES value to the sType field.
    • pNext

      public VkPhysicalDeviceVulkan11Properties pNext(long value)
      Sets the specified value to the pNext field.
    • set

      public VkPhysicalDeviceVulkan11Properties set(int sType, long pNext)
      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 VkPhysicalDeviceVulkan11Properties malloc()
      Returns a new VkPhysicalDeviceVulkan11Properties instance allocated with memAlloc. The instance must be explicitly freed.
    • calloc

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

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

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

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

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

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

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

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

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

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

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

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

      public static VkPhysicalDeviceVulkan11Properties.Buffer calloc(int capacity, MemoryStack stack)
      Returns a new VkPhysicalDeviceVulkan11Properties.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().
    • ndeviceUUID

      public static ByteBuffer ndeviceUUID(long struct)
      Unsafe version of deviceUUID().
    • ndeviceUUID

      public static byte ndeviceUUID(long struct, int index)
      Unsafe version of deviceUUID.
    • ndriverUUID

      public static ByteBuffer ndriverUUID(long struct)
      Unsafe version of driverUUID().
    • ndriverUUID

      public static byte ndriverUUID(long struct, int index)
      Unsafe version of driverUUID.
    • ndeviceLUID

      public static ByteBuffer ndeviceLUID(long struct)
      Unsafe version of deviceLUID().
    • ndeviceLUID

      public static byte ndeviceLUID(long struct, int index)
      Unsafe version of deviceLUID.
    • ndeviceNodeMask

      public static int ndeviceNodeMask(long struct)
      Unsafe version of deviceNodeMask().
    • ndeviceLUIDValid

      public static int ndeviceLUIDValid(long struct)
      Unsafe version of deviceLUIDValid().
    • nsubgroupSize

      public static int nsubgroupSize(long struct)
      Unsafe version of subgroupSize().
    • nsubgroupSupportedStages

      public static int nsubgroupSupportedStages(long struct)
      Unsafe version of subgroupSupportedStages().
    • nsubgroupSupportedOperations

      public static int nsubgroupSupportedOperations(long struct)
    • nsubgroupQuadOperationsInAllStages

      public static int nsubgroupQuadOperationsInAllStages(long struct)
    • npointClippingBehavior

      public static int npointClippingBehavior(long struct)
      Unsafe version of pointClippingBehavior().
    • nmaxMultiviewViewCount

      public static int nmaxMultiviewViewCount(long struct)
      Unsafe version of maxMultiviewViewCount().
    • nmaxMultiviewInstanceIndex

      public static int nmaxMultiviewInstanceIndex(long struct)
      Unsafe version of maxMultiviewInstanceIndex().
    • nprotectedNoFault

      public static int nprotectedNoFault(long struct)
      Unsafe version of protectedNoFault().
    • nmaxPerSetDescriptors

      public static int nmaxPerSetDescriptors(long struct)
      Unsafe version of maxPerSetDescriptors().
    • nmaxMemoryAllocationSize

      public static long nmaxMemoryAllocationSize(long struct)
      Unsafe version of maxMemoryAllocationSize().
    • 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.