Class VkPhysicalDeviceDescriptorIndexingProperties

All Implemented Interfaces:
AutoCloseable, NativeResource, Pointer
Direct Known Subclasses:
VkPhysicalDeviceDescriptorIndexingPropertiesEXT

public class VkPhysicalDeviceDescriptorIndexingProperties extends Struct<VkPhysicalDeviceDescriptorIndexingProperties> implements NativeResource

 struct VkPhysicalDeviceDescriptorIndexingProperties {
     VkStructureType sType;
     void * pNext;
     uint32_t maxUpdateAfterBindDescriptorsInAllPools;
     VkBool32 shaderUniformBufferArrayNonUniformIndexingNative;
     VkBool32 shaderSampledImageArrayNonUniformIndexingNative;
     VkBool32 shaderStorageBufferArrayNonUniformIndexingNative;
     VkBool32 shaderStorageImageArrayNonUniformIndexingNative;
     VkBool32 shaderInputAttachmentArrayNonUniformIndexingNative;
     VkBool32 robustBufferAccessUpdateAfterBind;
     VkBool32 quadDivergentImplicitLod;
     uint32_t maxPerStageDescriptorUpdateAfterBindSamplers;
     uint32_t maxPerStageDescriptorUpdateAfterBindUniformBuffers;
     uint32_t maxPerStageDescriptorUpdateAfterBindStorageBuffers;
     uint32_t maxPerStageDescriptorUpdateAfterBindSampledImages;
     uint32_t maxPerStageDescriptorUpdateAfterBindStorageImages;
     uint32_t maxPerStageDescriptorUpdateAfterBindInputAttachments;
     uint32_t maxPerStageUpdateAfterBindResources;
     uint32_t maxDescriptorSetUpdateAfterBindSamplers;
     uint32_t maxDescriptorSetUpdateAfterBindUniformBuffers;
     uint32_t maxDescriptorSetUpdateAfterBindUniformBuffersDynamic;
     uint32_t maxDescriptorSetUpdateAfterBindStorageBuffers;
     uint32_t maxDescriptorSetUpdateAfterBindStorageBuffersDynamic;
     uint32_t maxDescriptorSetUpdateAfterBindSampledImages;
     uint32_t maxDescriptorSetUpdateAfterBindStorageImages;
     uint32_t maxDescriptorSetUpdateAfterBindInputAttachments;
 }
  • 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.
    • MAXUPDATEAFTERBINDDESCRIPTORSINALLPOOLS

      public static final int MAXUPDATEAFTERBINDDESCRIPTORSINALLPOOLS
      The struct member offsets.
    • SHADERUNIFORMBUFFERARRAYNONUNIFORMINDEXINGNATIVE

      public static final int SHADERUNIFORMBUFFERARRAYNONUNIFORMINDEXINGNATIVE
      The struct member offsets.
    • SHADERSAMPLEDIMAGEARRAYNONUNIFORMINDEXINGNATIVE

      public static final int SHADERSAMPLEDIMAGEARRAYNONUNIFORMINDEXINGNATIVE
      The struct member offsets.
    • SHADERSTORAGEBUFFERARRAYNONUNIFORMINDEXINGNATIVE

      public static final int SHADERSTORAGEBUFFERARRAYNONUNIFORMINDEXINGNATIVE
      The struct member offsets.
    • SHADERSTORAGEIMAGEARRAYNONUNIFORMINDEXINGNATIVE

      public static final int SHADERSTORAGEIMAGEARRAYNONUNIFORMINDEXINGNATIVE
      The struct member offsets.
    • SHADERINPUTATTACHMENTARRAYNONUNIFORMINDEXINGNATIVE

      public static final int SHADERINPUTATTACHMENTARRAYNONUNIFORMINDEXINGNATIVE
      The struct member offsets.
    • ROBUSTBUFFERACCESSUPDATEAFTERBIND

      public static final int ROBUSTBUFFERACCESSUPDATEAFTERBIND
      The struct member offsets.
    • QUADDIVERGENTIMPLICITLOD

      public static final int QUADDIVERGENTIMPLICITLOD
      The struct member offsets.
    • MAXPERSTAGEDESCRIPTORUPDATEAFTERBINDSAMPLERS

      public static final int MAXPERSTAGEDESCRIPTORUPDATEAFTERBINDSAMPLERS
      The struct member offsets.
    • MAXPERSTAGEDESCRIPTORUPDATEAFTERBINDUNIFORMBUFFERS

      public static final int MAXPERSTAGEDESCRIPTORUPDATEAFTERBINDUNIFORMBUFFERS
      The struct member offsets.
    • MAXPERSTAGEDESCRIPTORUPDATEAFTERBINDSTORAGEBUFFERS

      public static final int MAXPERSTAGEDESCRIPTORUPDATEAFTERBINDSTORAGEBUFFERS
      The struct member offsets.
    • MAXPERSTAGEDESCRIPTORUPDATEAFTERBINDSAMPLEDIMAGES

      public static final int MAXPERSTAGEDESCRIPTORUPDATEAFTERBINDSAMPLEDIMAGES
      The struct member offsets.
    • MAXPERSTAGEDESCRIPTORUPDATEAFTERBINDSTORAGEIMAGES

      public static final int MAXPERSTAGEDESCRIPTORUPDATEAFTERBINDSTORAGEIMAGES
      The struct member offsets.
    • MAXPERSTAGEDESCRIPTORUPDATEAFTERBINDINPUTATTACHMENTS

      public static final int MAXPERSTAGEDESCRIPTORUPDATEAFTERBINDINPUTATTACHMENTS
      The struct member offsets.
    • MAXPERSTAGEUPDATEAFTERBINDRESOURCES

      public static final int MAXPERSTAGEUPDATEAFTERBINDRESOURCES
      The struct member offsets.
    • MAXDESCRIPTORSETUPDATEAFTERBINDSAMPLERS

      public static final int MAXDESCRIPTORSETUPDATEAFTERBINDSAMPLERS
      The struct member offsets.
    • MAXDESCRIPTORSETUPDATEAFTERBINDUNIFORMBUFFERS

      public static final int MAXDESCRIPTORSETUPDATEAFTERBINDUNIFORMBUFFERS
      The struct member offsets.
    • MAXDESCRIPTORSETUPDATEAFTERBINDUNIFORMBUFFERSDYNAMIC

      public static final int MAXDESCRIPTORSETUPDATEAFTERBINDUNIFORMBUFFERSDYNAMIC
      The struct member offsets.
    • MAXDESCRIPTORSETUPDATEAFTERBINDSTORAGEBUFFERS

      public static final int MAXDESCRIPTORSETUPDATEAFTERBINDSTORAGEBUFFERS
      The struct member offsets.
    • MAXDESCRIPTORSETUPDATEAFTERBINDSTORAGEBUFFERSDYNAMIC

      public static final int MAXDESCRIPTORSETUPDATEAFTERBINDSTORAGEBUFFERSDYNAMIC
      The struct member offsets.
    • MAXDESCRIPTORSETUPDATEAFTERBINDSAMPLEDIMAGES

      public static final int MAXDESCRIPTORSETUPDATEAFTERBINDSAMPLEDIMAGES
      The struct member offsets.
    • MAXDESCRIPTORSETUPDATEAFTERBINDSTORAGEIMAGES

      public static final int MAXDESCRIPTORSETUPDATEAFTERBINDSTORAGEIMAGES
      The struct member offsets.
    • MAXDESCRIPTORSETUPDATEAFTERBINDINPUTATTACHMENTS

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

    • VkPhysicalDeviceDescriptorIndexingProperties

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

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

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

      public int maxUpdateAfterBindDescriptorsInAllPools()
      Returns:
      the value of the maxUpdateAfterBindDescriptorsInAllPools field.
    • shaderUniformBufferArrayNonUniformIndexingNative

      public boolean shaderUniformBufferArrayNonUniformIndexingNative()
      Returns:
      the value of the shaderUniformBufferArrayNonUniformIndexingNative field.
    • shaderSampledImageArrayNonUniformIndexingNative

      public boolean shaderSampledImageArrayNonUniformIndexingNative()
      Returns:
      the value of the shaderSampledImageArrayNonUniformIndexingNative field.
    • shaderStorageBufferArrayNonUniformIndexingNative

      public boolean shaderStorageBufferArrayNonUniformIndexingNative()
      Returns:
      the value of the shaderStorageBufferArrayNonUniformIndexingNative field.
    • shaderStorageImageArrayNonUniformIndexingNative

      public boolean shaderStorageImageArrayNonUniformIndexingNative()
      Returns:
      the value of the shaderStorageImageArrayNonUniformIndexingNative field.
    • shaderInputAttachmentArrayNonUniformIndexingNative

      public boolean shaderInputAttachmentArrayNonUniformIndexingNative()
      Returns:
      the value of the shaderInputAttachmentArrayNonUniformIndexingNative field.
    • robustBufferAccessUpdateAfterBind

      public boolean robustBufferAccessUpdateAfterBind()
      Returns:
      the value of the robustBufferAccessUpdateAfterBind field.
    • quadDivergentImplicitLod

      public boolean quadDivergentImplicitLod()
      Returns:
      the value of the quadDivergentImplicitLod field.
    • maxPerStageDescriptorUpdateAfterBindSamplers

      public int maxPerStageDescriptorUpdateAfterBindSamplers()
      Returns:
      the value of the maxPerStageDescriptorUpdateAfterBindSamplers field.
    • maxPerStageDescriptorUpdateAfterBindUniformBuffers

      public int maxPerStageDescriptorUpdateAfterBindUniformBuffers()
      Returns:
      the value of the maxPerStageDescriptorUpdateAfterBindUniformBuffers field.
    • maxPerStageDescriptorUpdateAfterBindStorageBuffers

      public int maxPerStageDescriptorUpdateAfterBindStorageBuffers()
      Returns:
      the value of the maxPerStageDescriptorUpdateAfterBindStorageBuffers field.
    • maxPerStageDescriptorUpdateAfterBindSampledImages

      public int maxPerStageDescriptorUpdateAfterBindSampledImages()
      Returns:
      the value of the maxPerStageDescriptorUpdateAfterBindSampledImages field.
    • maxPerStageDescriptorUpdateAfterBindStorageImages

      public int maxPerStageDescriptorUpdateAfterBindStorageImages()
      Returns:
      the value of the maxPerStageDescriptorUpdateAfterBindStorageImages field.
    • maxPerStageDescriptorUpdateAfterBindInputAttachments

      public int maxPerStageDescriptorUpdateAfterBindInputAttachments()
      Returns:
      the value of the maxPerStageDescriptorUpdateAfterBindInputAttachments field.
    • maxPerStageUpdateAfterBindResources

      public int maxPerStageUpdateAfterBindResources()
      Returns:
      the value of the maxPerStageUpdateAfterBindResources field.
    • maxDescriptorSetUpdateAfterBindSamplers

      public int maxDescriptorSetUpdateAfterBindSamplers()
      Returns:
      the value of the maxDescriptorSetUpdateAfterBindSamplers field.
    • maxDescriptorSetUpdateAfterBindUniformBuffers

      public int maxDescriptorSetUpdateAfterBindUniformBuffers()
      Returns:
      the value of the maxDescriptorSetUpdateAfterBindUniformBuffers field.
    • maxDescriptorSetUpdateAfterBindUniformBuffersDynamic

      public int maxDescriptorSetUpdateAfterBindUniformBuffersDynamic()
      Returns:
      the value of the maxDescriptorSetUpdateAfterBindUniformBuffersDynamic field.
    • maxDescriptorSetUpdateAfterBindStorageBuffers

      public int maxDescriptorSetUpdateAfterBindStorageBuffers()
      Returns:
      the value of the maxDescriptorSetUpdateAfterBindStorageBuffers field.
    • maxDescriptorSetUpdateAfterBindStorageBuffersDynamic

      public int maxDescriptorSetUpdateAfterBindStorageBuffersDynamic()
      Returns:
      the value of the maxDescriptorSetUpdateAfterBindStorageBuffersDynamic field.
    • maxDescriptorSetUpdateAfterBindSampledImages

      public int maxDescriptorSetUpdateAfterBindSampledImages()
      Returns:
      the value of the maxDescriptorSetUpdateAfterBindSampledImages field.
    • maxDescriptorSetUpdateAfterBindStorageImages

      public int maxDescriptorSetUpdateAfterBindStorageImages()
      Returns:
      the value of the maxDescriptorSetUpdateAfterBindStorageImages field.
    • maxDescriptorSetUpdateAfterBindInputAttachments

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

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

    • pNext

      Sets the specified value to the pNext field.
    • set

      public VkPhysicalDeviceDescriptorIndexingProperties 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 VkPhysicalDeviceDescriptorIndexingProperties instance allocated with memAlloc. The instance must be explicitly freed.
    • calloc

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

      Returns a new VkPhysicalDeviceDescriptorIndexingProperties instance allocated with BufferUtils.
    • create

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

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

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

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

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

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

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

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

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

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

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

      public static int nmaxUpdateAfterBindDescriptorsInAllPools(long struct)
    • nshaderUniformBufferArrayNonUniformIndexingNative

      public static int nshaderUniformBufferArrayNonUniformIndexingNative(long struct)
    • nshaderSampledImageArrayNonUniformIndexingNative

      public static int nshaderSampledImageArrayNonUniformIndexingNative(long struct)
    • nshaderStorageBufferArrayNonUniformIndexingNative

      public static int nshaderStorageBufferArrayNonUniformIndexingNative(long struct)
    • nshaderStorageImageArrayNonUniformIndexingNative

      public static int nshaderStorageImageArrayNonUniformIndexingNative(long struct)
    • nshaderInputAttachmentArrayNonUniformIndexingNative

      public static int nshaderInputAttachmentArrayNonUniformIndexingNative(long struct)
    • nrobustBufferAccessUpdateAfterBind

      public static int nrobustBufferAccessUpdateAfterBind(long struct)
    • nquadDivergentImplicitLod

      public static int nquadDivergentImplicitLod(long struct)
      Unsafe version of quadDivergentImplicitLod().
    • nmaxPerStageDescriptorUpdateAfterBindSamplers

      public static int nmaxPerStageDescriptorUpdateAfterBindSamplers(long struct)
    • nmaxPerStageDescriptorUpdateAfterBindUniformBuffers

      public static int nmaxPerStageDescriptorUpdateAfterBindUniformBuffers(long struct)
    • nmaxPerStageDescriptorUpdateAfterBindStorageBuffers

      public static int nmaxPerStageDescriptorUpdateAfterBindStorageBuffers(long struct)
    • nmaxPerStageDescriptorUpdateAfterBindSampledImages

      public static int nmaxPerStageDescriptorUpdateAfterBindSampledImages(long struct)
    • nmaxPerStageDescriptorUpdateAfterBindStorageImages

      public static int nmaxPerStageDescriptorUpdateAfterBindStorageImages(long struct)
    • nmaxPerStageDescriptorUpdateAfterBindInputAttachments

      public static int nmaxPerStageDescriptorUpdateAfterBindInputAttachments(long struct)
    • nmaxPerStageUpdateAfterBindResources

      public static int nmaxPerStageUpdateAfterBindResources(long struct)
    • nmaxDescriptorSetUpdateAfterBindSamplers

      public static int nmaxDescriptorSetUpdateAfterBindSamplers(long struct)
    • nmaxDescriptorSetUpdateAfterBindUniformBuffers

      public static int nmaxDescriptorSetUpdateAfterBindUniformBuffers(long struct)
    • nmaxDescriptorSetUpdateAfterBindUniformBuffersDynamic

      public static int nmaxDescriptorSetUpdateAfterBindUniformBuffersDynamic(long struct)
    • nmaxDescriptorSetUpdateAfterBindStorageBuffers

      public static int nmaxDescriptorSetUpdateAfterBindStorageBuffers(long struct)
    • nmaxDescriptorSetUpdateAfterBindStorageBuffersDynamic

      public static int nmaxDescriptorSetUpdateAfterBindStorageBuffersDynamic(long struct)
    • nmaxDescriptorSetUpdateAfterBindSampledImages

      public static int nmaxDescriptorSetUpdateAfterBindSampledImages(long struct)
    • nmaxDescriptorSetUpdateAfterBindStorageImages

      public static int nmaxDescriptorSetUpdateAfterBindStorageImages(long struct)
    • nmaxDescriptorSetUpdateAfterBindInputAttachments

      public static int nmaxDescriptorSetUpdateAfterBindInputAttachments(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.