Class VkPhysicalDeviceDescriptorBufferPropertiesEXT

All Implemented Interfaces:
AutoCloseable, NativeResource, Pointer

public class VkPhysicalDeviceDescriptorBufferPropertiesEXT extends Struct<VkPhysicalDeviceDescriptorBufferPropertiesEXT> implements NativeResource

 struct VkPhysicalDeviceDescriptorBufferPropertiesEXT {
     VkStructureType sType;
     void * pNext;
     VkBool32 combinedImageSamplerDescriptorSingleArray;
     VkBool32 bufferlessPushDescriptors;
     VkBool32 allowSamplerImageViewPostSubmitCreation;
     VkDeviceSize descriptorBufferOffsetAlignment;
     uint32_t maxDescriptorBufferBindings;
     uint32_t maxResourceDescriptorBufferBindings;
     uint32_t maxSamplerDescriptorBufferBindings;
     uint32_t maxEmbeddedImmutableSamplerBindings;
     uint32_t maxEmbeddedImmutableSamplers;
     size_t bufferCaptureReplayDescriptorDataSize;
     size_t imageCaptureReplayDescriptorDataSize;
     size_t imageViewCaptureReplayDescriptorDataSize;
     size_t samplerCaptureReplayDescriptorDataSize;
     size_t accelerationStructureCaptureReplayDescriptorDataSize;
     size_t samplerDescriptorSize;
     size_t combinedImageSamplerDescriptorSize;
     size_t sampledImageDescriptorSize;
     size_t storageImageDescriptorSize;
     size_t uniformTexelBufferDescriptorSize;
     size_t robustUniformTexelBufferDescriptorSize;
     size_t storageTexelBufferDescriptorSize;
     size_t robustStorageTexelBufferDescriptorSize;
     size_t uniformBufferDescriptorSize;
     size_t robustUniformBufferDescriptorSize;
     size_t storageBufferDescriptorSize;
     size_t robustStorageBufferDescriptorSize;
     size_t inputAttachmentDescriptorSize;
     size_t accelerationStructureDescriptorSize;
     VkDeviceSize maxSamplerDescriptorBufferRange;
     VkDeviceSize maxResourceDescriptorBufferRange;
     VkDeviceSize samplerDescriptorBufferAddressSpaceSize;
     VkDeviceSize resourceDescriptorBufferAddressSpaceSize;
     VkDeviceSize descriptorBufferAddressSpaceSize;
 }
  • 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.
    • COMBINEDIMAGESAMPLERDESCRIPTORSINGLEARRAY

      public static final int COMBINEDIMAGESAMPLERDESCRIPTORSINGLEARRAY
      The struct member offsets.
    • BUFFERLESSPUSHDESCRIPTORS

      public static final int BUFFERLESSPUSHDESCRIPTORS
      The struct member offsets.
    • ALLOWSAMPLERIMAGEVIEWPOSTSUBMITCREATION

      public static final int ALLOWSAMPLERIMAGEVIEWPOSTSUBMITCREATION
      The struct member offsets.
    • DESCRIPTORBUFFEROFFSETALIGNMENT

      public static final int DESCRIPTORBUFFEROFFSETALIGNMENT
      The struct member offsets.
    • MAXDESCRIPTORBUFFERBINDINGS

      public static final int MAXDESCRIPTORBUFFERBINDINGS
      The struct member offsets.
    • MAXRESOURCEDESCRIPTORBUFFERBINDINGS

      public static final int MAXRESOURCEDESCRIPTORBUFFERBINDINGS
      The struct member offsets.
    • MAXSAMPLERDESCRIPTORBUFFERBINDINGS

      public static final int MAXSAMPLERDESCRIPTORBUFFERBINDINGS
      The struct member offsets.
    • MAXEMBEDDEDIMMUTABLESAMPLERBINDINGS

      public static final int MAXEMBEDDEDIMMUTABLESAMPLERBINDINGS
      The struct member offsets.
    • MAXEMBEDDEDIMMUTABLESAMPLERS

      public static final int MAXEMBEDDEDIMMUTABLESAMPLERS
      The struct member offsets.
    • BUFFERCAPTUREREPLAYDESCRIPTORDATASIZE

      public static final int BUFFERCAPTUREREPLAYDESCRIPTORDATASIZE
      The struct member offsets.
    • IMAGECAPTUREREPLAYDESCRIPTORDATASIZE

      public static final int IMAGECAPTUREREPLAYDESCRIPTORDATASIZE
      The struct member offsets.
    • IMAGEVIEWCAPTUREREPLAYDESCRIPTORDATASIZE

      public static final int IMAGEVIEWCAPTUREREPLAYDESCRIPTORDATASIZE
      The struct member offsets.
    • SAMPLERCAPTUREREPLAYDESCRIPTORDATASIZE

      public static final int SAMPLERCAPTUREREPLAYDESCRIPTORDATASIZE
      The struct member offsets.
    • ACCELERATIONSTRUCTURECAPTUREREPLAYDESCRIPTORDATASIZE

      public static final int ACCELERATIONSTRUCTURECAPTUREREPLAYDESCRIPTORDATASIZE
      The struct member offsets.
    • SAMPLERDESCRIPTORSIZE

      public static final int SAMPLERDESCRIPTORSIZE
      The struct member offsets.
    • COMBINEDIMAGESAMPLERDESCRIPTORSIZE

      public static final int COMBINEDIMAGESAMPLERDESCRIPTORSIZE
      The struct member offsets.
    • SAMPLEDIMAGEDESCRIPTORSIZE

      public static final int SAMPLEDIMAGEDESCRIPTORSIZE
      The struct member offsets.
    • STORAGEIMAGEDESCRIPTORSIZE

      public static final int STORAGEIMAGEDESCRIPTORSIZE
      The struct member offsets.
    • UNIFORMTEXELBUFFERDESCRIPTORSIZE

      public static final int UNIFORMTEXELBUFFERDESCRIPTORSIZE
      The struct member offsets.
    • ROBUSTUNIFORMTEXELBUFFERDESCRIPTORSIZE

      public static final int ROBUSTUNIFORMTEXELBUFFERDESCRIPTORSIZE
      The struct member offsets.
    • STORAGETEXELBUFFERDESCRIPTORSIZE

      public static final int STORAGETEXELBUFFERDESCRIPTORSIZE
      The struct member offsets.
    • ROBUSTSTORAGETEXELBUFFERDESCRIPTORSIZE

      public static final int ROBUSTSTORAGETEXELBUFFERDESCRIPTORSIZE
      The struct member offsets.
    • UNIFORMBUFFERDESCRIPTORSIZE

      public static final int UNIFORMBUFFERDESCRIPTORSIZE
      The struct member offsets.
    • ROBUSTUNIFORMBUFFERDESCRIPTORSIZE

      public static final int ROBUSTUNIFORMBUFFERDESCRIPTORSIZE
      The struct member offsets.
    • STORAGEBUFFERDESCRIPTORSIZE

      public static final int STORAGEBUFFERDESCRIPTORSIZE
      The struct member offsets.
    • ROBUSTSTORAGEBUFFERDESCRIPTORSIZE

      public static final int ROBUSTSTORAGEBUFFERDESCRIPTORSIZE
      The struct member offsets.
    • INPUTATTACHMENTDESCRIPTORSIZE

      public static final int INPUTATTACHMENTDESCRIPTORSIZE
      The struct member offsets.
    • ACCELERATIONSTRUCTUREDESCRIPTORSIZE

      public static final int ACCELERATIONSTRUCTUREDESCRIPTORSIZE
      The struct member offsets.
    • MAXSAMPLERDESCRIPTORBUFFERRANGE

      public static final int MAXSAMPLERDESCRIPTORBUFFERRANGE
      The struct member offsets.
    • MAXRESOURCEDESCRIPTORBUFFERRANGE

      public static final int MAXRESOURCEDESCRIPTORBUFFERRANGE
      The struct member offsets.
    • SAMPLERDESCRIPTORBUFFERADDRESSSPACESIZE

      public static final int SAMPLERDESCRIPTORBUFFERADDRESSSPACESIZE
      The struct member offsets.
    • RESOURCEDESCRIPTORBUFFERADDRESSSPACESIZE

      public static final int RESOURCEDESCRIPTORBUFFERADDRESSSPACESIZE
      The struct member offsets.
    • DESCRIPTORBUFFERADDRESSSPACESIZE

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

    • VkPhysicalDeviceDescriptorBufferPropertiesEXT

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

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

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

      public boolean combinedImageSamplerDescriptorSingleArray()
      Returns:
      the value of the combinedImageSamplerDescriptorSingleArray field.
    • bufferlessPushDescriptors

      public boolean bufferlessPushDescriptors()
      Returns:
      the value of the bufferlessPushDescriptors field.
    • allowSamplerImageViewPostSubmitCreation

      public boolean allowSamplerImageViewPostSubmitCreation()
      Returns:
      the value of the allowSamplerImageViewPostSubmitCreation field.
    • descriptorBufferOffsetAlignment

      public long descriptorBufferOffsetAlignment()
      Returns:
      the value of the descriptorBufferOffsetAlignment field.
    • maxDescriptorBufferBindings

      public int maxDescriptorBufferBindings()
      Returns:
      the value of the maxDescriptorBufferBindings field.
    • maxResourceDescriptorBufferBindings

      public int maxResourceDescriptorBufferBindings()
      Returns:
      the value of the maxResourceDescriptorBufferBindings field.
    • maxSamplerDescriptorBufferBindings

      public int maxSamplerDescriptorBufferBindings()
      Returns:
      the value of the maxSamplerDescriptorBufferBindings field.
    • maxEmbeddedImmutableSamplerBindings

      public int maxEmbeddedImmutableSamplerBindings()
      Returns:
      the value of the maxEmbeddedImmutableSamplerBindings field.
    • maxEmbeddedImmutableSamplers

      public int maxEmbeddedImmutableSamplers()
      Returns:
      the value of the maxEmbeddedImmutableSamplers field.
    • bufferCaptureReplayDescriptorDataSize

      public long bufferCaptureReplayDescriptorDataSize()
      Returns:
      the value of the bufferCaptureReplayDescriptorDataSize field.
    • imageCaptureReplayDescriptorDataSize

      public long imageCaptureReplayDescriptorDataSize()
      Returns:
      the value of the imageCaptureReplayDescriptorDataSize field.
    • imageViewCaptureReplayDescriptorDataSize

      public long imageViewCaptureReplayDescriptorDataSize()
      Returns:
      the value of the imageViewCaptureReplayDescriptorDataSize field.
    • samplerCaptureReplayDescriptorDataSize

      public long samplerCaptureReplayDescriptorDataSize()
      Returns:
      the value of the samplerCaptureReplayDescriptorDataSize field.
    • accelerationStructureCaptureReplayDescriptorDataSize

      public long accelerationStructureCaptureReplayDescriptorDataSize()
      Returns:
      the value of the accelerationStructureCaptureReplayDescriptorDataSize field.
    • samplerDescriptorSize

      public long samplerDescriptorSize()
      Returns:
      the value of the samplerDescriptorSize field.
    • combinedImageSamplerDescriptorSize

      public long combinedImageSamplerDescriptorSize()
      Returns:
      the value of the combinedImageSamplerDescriptorSize field.
    • sampledImageDescriptorSize

      public long sampledImageDescriptorSize()
      Returns:
      the value of the sampledImageDescriptorSize field.
    • storageImageDescriptorSize

      public long storageImageDescriptorSize()
      Returns:
      the value of the storageImageDescriptorSize field.
    • uniformTexelBufferDescriptorSize

      public long uniformTexelBufferDescriptorSize()
      Returns:
      the value of the uniformTexelBufferDescriptorSize field.
    • robustUniformTexelBufferDescriptorSize

      public long robustUniformTexelBufferDescriptorSize()
      Returns:
      the value of the robustUniformTexelBufferDescriptorSize field.
    • storageTexelBufferDescriptorSize

      public long storageTexelBufferDescriptorSize()
      Returns:
      the value of the storageTexelBufferDescriptorSize field.
    • robustStorageTexelBufferDescriptorSize

      public long robustStorageTexelBufferDescriptorSize()
      Returns:
      the value of the robustStorageTexelBufferDescriptorSize field.
    • uniformBufferDescriptorSize

      public long uniformBufferDescriptorSize()
      Returns:
      the value of the uniformBufferDescriptorSize field.
    • robustUniformBufferDescriptorSize

      public long robustUniformBufferDescriptorSize()
      Returns:
      the value of the robustUniformBufferDescriptorSize field.
    • storageBufferDescriptorSize

      public long storageBufferDescriptorSize()
      Returns:
      the value of the storageBufferDescriptorSize field.
    • robustStorageBufferDescriptorSize

      public long robustStorageBufferDescriptorSize()
      Returns:
      the value of the robustStorageBufferDescriptorSize field.
    • inputAttachmentDescriptorSize

      public long inputAttachmentDescriptorSize()
      Returns:
      the value of the inputAttachmentDescriptorSize field.
    • accelerationStructureDescriptorSize

      public long accelerationStructureDescriptorSize()
      Returns:
      the value of the accelerationStructureDescriptorSize field.
    • maxSamplerDescriptorBufferRange

      public long maxSamplerDescriptorBufferRange()
      Returns:
      the value of the maxSamplerDescriptorBufferRange field.
    • maxResourceDescriptorBufferRange

      public long maxResourceDescriptorBufferRange()
      Returns:
      the value of the maxResourceDescriptorBufferRange field.
    • samplerDescriptorBufferAddressSpaceSize

      public long samplerDescriptorBufferAddressSpaceSize()
      Returns:
      the value of the samplerDescriptorBufferAddressSpaceSize field.
    • resourceDescriptorBufferAddressSpaceSize

      public long resourceDescriptorBufferAddressSpaceSize()
      Returns:
      the value of the resourceDescriptorBufferAddressSpaceSize field.
    • descriptorBufferAddressSpaceSize

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

      Sets the specified value to the sType field.
    • sType$Default

    • pNext

      Sets the specified value to the pNext field.
    • set

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

      Returns a new VkPhysicalDeviceDescriptorBufferPropertiesEXT instance allocated with memAlloc. The instance must be explicitly freed.
    • calloc

      Returns a new VkPhysicalDeviceDescriptorBufferPropertiesEXT instance allocated with memCalloc. The instance must be explicitly freed.
    • create

      Returns a new VkPhysicalDeviceDescriptorBufferPropertiesEXT instance allocated with BufferUtils.
    • create

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

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

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

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

      public static VkPhysicalDeviceDescriptorBufferPropertiesEXT.Buffer create(int capacity)
      Parameters:
      capacity - the buffer capacity
    • create

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

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

      Returns a new VkPhysicalDeviceDescriptorBufferPropertiesEXT instance allocated on the specified MemoryStack.
      Parameters:
      stack - the stack from which to allocate
    • calloc

      Returns a new VkPhysicalDeviceDescriptorBufferPropertiesEXT instance allocated on the specified MemoryStack and initializes all its bits to zero.
      Parameters:
      stack - the stack from which to allocate
    • malloc

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

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

      public static int ncombinedImageSamplerDescriptorSingleArray(long struct)
    • nbufferlessPushDescriptors

      public static int nbufferlessPushDescriptors(long struct)
      Unsafe version of bufferlessPushDescriptors().
    • nallowSamplerImageViewPostSubmitCreation

      public static int nallowSamplerImageViewPostSubmitCreation(long struct)
    • ndescriptorBufferOffsetAlignment

      public static long ndescriptorBufferOffsetAlignment(long struct)
    • nmaxDescriptorBufferBindings

      public static int nmaxDescriptorBufferBindings(long struct)
    • nmaxResourceDescriptorBufferBindings

      public static int nmaxResourceDescriptorBufferBindings(long struct)
    • nmaxSamplerDescriptorBufferBindings

      public static int nmaxSamplerDescriptorBufferBindings(long struct)
    • nmaxEmbeddedImmutableSamplerBindings

      public static int nmaxEmbeddedImmutableSamplerBindings(long struct)
    • nmaxEmbeddedImmutableSamplers

      public static int nmaxEmbeddedImmutableSamplers(long struct)
    • nbufferCaptureReplayDescriptorDataSize

      public static long nbufferCaptureReplayDescriptorDataSize(long struct)
    • nimageCaptureReplayDescriptorDataSize

      public static long nimageCaptureReplayDescriptorDataSize(long struct)
    • nimageViewCaptureReplayDescriptorDataSize

      public static long nimageViewCaptureReplayDescriptorDataSize(long struct)
    • nsamplerCaptureReplayDescriptorDataSize

      public static long nsamplerCaptureReplayDescriptorDataSize(long struct)
    • naccelerationStructureCaptureReplayDescriptorDataSize

      public static long naccelerationStructureCaptureReplayDescriptorDataSize(long struct)
    • nsamplerDescriptorSize

      public static long nsamplerDescriptorSize(long struct)
      Unsafe version of samplerDescriptorSize().
    • ncombinedImageSamplerDescriptorSize

      public static long ncombinedImageSamplerDescriptorSize(long struct)
    • nsampledImageDescriptorSize

      public static long nsampledImageDescriptorSize(long struct)
      Unsafe version of sampledImageDescriptorSize().
    • nstorageImageDescriptorSize

      public static long nstorageImageDescriptorSize(long struct)
      Unsafe version of storageImageDescriptorSize().
    • nuniformTexelBufferDescriptorSize

      public static long nuniformTexelBufferDescriptorSize(long struct)
    • nrobustUniformTexelBufferDescriptorSize

      public static long nrobustUniformTexelBufferDescriptorSize(long struct)
    • nstorageTexelBufferDescriptorSize

      public static long nstorageTexelBufferDescriptorSize(long struct)
    • nrobustStorageTexelBufferDescriptorSize

      public static long nrobustStorageTexelBufferDescriptorSize(long struct)
    • nuniformBufferDescriptorSize

      public static long nuniformBufferDescriptorSize(long struct)
    • nrobustUniformBufferDescriptorSize

      public static long nrobustUniformBufferDescriptorSize(long struct)
    • nstorageBufferDescriptorSize

      public static long nstorageBufferDescriptorSize(long struct)
    • nrobustStorageBufferDescriptorSize

      public static long nrobustStorageBufferDescriptorSize(long struct)
    • ninputAttachmentDescriptorSize

      public static long ninputAttachmentDescriptorSize(long struct)
    • naccelerationStructureDescriptorSize

      public static long naccelerationStructureDescriptorSize(long struct)
    • nmaxSamplerDescriptorBufferRange

      public static long nmaxSamplerDescriptorBufferRange(long struct)
    • nmaxResourceDescriptorBufferRange

      public static long nmaxResourceDescriptorBufferRange(long struct)
    • nsamplerDescriptorBufferAddressSpaceSize

      public static long nsamplerDescriptorBufferAddressSpaceSize(long struct)
    • nresourceDescriptorBufferAddressSpaceSize

      public static long nresourceDescriptorBufferAddressSpaceSize(long struct)
    • ndescriptorBufferAddressSpaceSize

      public static long ndescriptorBufferAddressSpaceSize(long struct)
    • 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.