Class VkPhysicalDeviceVulkan14Properties

All Implemented Interfaces:
AutoCloseable, NativeResource, Pointer

public class VkPhysicalDeviceVulkan14Properties extends Struct<VkPhysicalDeviceVulkan14Properties> implements NativeResource

 struct VkPhysicalDeviceVulkan14Properties {
     VkStructureType sType;
     void * pNext;
     uint32_t lineSubPixelPrecisionBits;
     uint32_t maxVertexAttribDivisor;
     VkBool32 supportsNonZeroFirstInstance;
     uint32_t maxPushDescriptors;
     VkBool32 dynamicRenderingLocalReadDepthStencilAttachments;
     VkBool32 dynamicRenderingLocalReadMultisampledAttachments;
     VkBool32 earlyFragmentMultisampleCoverageAfterSampleCounting;
     VkBool32 earlyFragmentSampleMaskTestBeforeSampleCounting;
     VkBool32 depthStencilSwizzleOneSupport;
     VkBool32 polygonModePointSize;
     VkBool32 nonStrictSinglePixelWideLinesUseParallelogram;
     VkBool32 nonStrictWideLinesUseParallelogram;
     VkBool32 blockTexelViewCompatibleMultipleLayers;
     uint32_t maxCombinedImageSamplerDescriptorCount;
     VkBool32 fragmentShadingRateClampCombinerInputs;
     VkPipelineRobustnessBufferBehavior defaultRobustnessStorageBuffers;
     VkPipelineRobustnessBufferBehavior defaultRobustnessUniformBuffers;
     VkPipelineRobustnessBufferBehavior defaultRobustnessVertexInputs;
     VkPipelineRobustnessImageBehavior defaultRobustnessImages;
     uint32_t copySrcLayoutCount;
     VkImageLayout * pCopySrcLayouts;
     uint32_t copyDstLayoutCount;
     VkImageLayout * pCopyDstLayouts;
     uint8_t optimalTilingLayoutUUID[VK_UUID_SIZE];
     VkBool32 identicalMemoryTypeRequirements;
 }
  • 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.
    • LINESUBPIXELPRECISIONBITS

      public static final int LINESUBPIXELPRECISIONBITS
      The struct member offsets.
    • MAXVERTEXATTRIBDIVISOR

      public static final int MAXVERTEXATTRIBDIVISOR
      The struct member offsets.
    • SUPPORTSNONZEROFIRSTINSTANCE

      public static final int SUPPORTSNONZEROFIRSTINSTANCE
      The struct member offsets.
    • MAXPUSHDESCRIPTORS

      public static final int MAXPUSHDESCRIPTORS
      The struct member offsets.
    • DYNAMICRENDERINGLOCALREADDEPTHSTENCILATTACHMENTS

      public static final int DYNAMICRENDERINGLOCALREADDEPTHSTENCILATTACHMENTS
      The struct member offsets.
    • DYNAMICRENDERINGLOCALREADMULTISAMPLEDATTACHMENTS

      public static final int DYNAMICRENDERINGLOCALREADMULTISAMPLEDATTACHMENTS
      The struct member offsets.
    • EARLYFRAGMENTMULTISAMPLECOVERAGEAFTERSAMPLECOUNTING

      public static final int EARLYFRAGMENTMULTISAMPLECOVERAGEAFTERSAMPLECOUNTING
      The struct member offsets.
    • EARLYFRAGMENTSAMPLEMASKTESTBEFORESAMPLECOUNTING

      public static final int EARLYFRAGMENTSAMPLEMASKTESTBEFORESAMPLECOUNTING
      The struct member offsets.
    • DEPTHSTENCILSWIZZLEONESUPPORT

      public static final int DEPTHSTENCILSWIZZLEONESUPPORT
      The struct member offsets.
    • POLYGONMODEPOINTSIZE

      public static final int POLYGONMODEPOINTSIZE
      The struct member offsets.
    • NONSTRICTSINGLEPIXELWIDELINESUSEPARALLELOGRAM

      public static final int NONSTRICTSINGLEPIXELWIDELINESUSEPARALLELOGRAM
      The struct member offsets.
    • NONSTRICTWIDELINESUSEPARALLELOGRAM

      public static final int NONSTRICTWIDELINESUSEPARALLELOGRAM
      The struct member offsets.
    • BLOCKTEXELVIEWCOMPATIBLEMULTIPLELAYERS

      public static final int BLOCKTEXELVIEWCOMPATIBLEMULTIPLELAYERS
      The struct member offsets.
    • MAXCOMBINEDIMAGESAMPLERDESCRIPTORCOUNT

      public static final int MAXCOMBINEDIMAGESAMPLERDESCRIPTORCOUNT
      The struct member offsets.
    • FRAGMENTSHADINGRATECLAMPCOMBINERINPUTS

      public static final int FRAGMENTSHADINGRATECLAMPCOMBINERINPUTS
      The struct member offsets.
    • DEFAULTROBUSTNESSSTORAGEBUFFERS

      public static final int DEFAULTROBUSTNESSSTORAGEBUFFERS
      The struct member offsets.
    • DEFAULTROBUSTNESSUNIFORMBUFFERS

      public static final int DEFAULTROBUSTNESSUNIFORMBUFFERS
      The struct member offsets.
    • DEFAULTROBUSTNESSVERTEXINPUTS

      public static final int DEFAULTROBUSTNESSVERTEXINPUTS
      The struct member offsets.
    • DEFAULTROBUSTNESSIMAGES

      public static final int DEFAULTROBUSTNESSIMAGES
      The struct member offsets.
    • COPYSRCLAYOUTCOUNT

      public static final int COPYSRCLAYOUTCOUNT
      The struct member offsets.
    • PCOPYSRCLAYOUTS

      public static final int PCOPYSRCLAYOUTS
      The struct member offsets.
    • COPYDSTLAYOUTCOUNT

      public static final int COPYDSTLAYOUTCOUNT
      The struct member offsets.
    • PCOPYDSTLAYOUTS

      public static final int PCOPYDSTLAYOUTS
      The struct member offsets.
    • OPTIMALTILINGLAYOUTUUID

      public static final int OPTIMALTILINGLAYOUTUUID
      The struct member offsets.
    • IDENTICALMEMORYTYPEREQUIREMENTS

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

    • VkPhysicalDeviceVulkan14Properties

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

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

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

      public int lineSubPixelPrecisionBits()
      Returns:
      the value of the lineSubPixelPrecisionBits field.
    • maxVertexAttribDivisor

      public int maxVertexAttribDivisor()
      Returns:
      the value of the maxVertexAttribDivisor field.
    • supportsNonZeroFirstInstance

      public boolean supportsNonZeroFirstInstance()
      Returns:
      the value of the supportsNonZeroFirstInstance field.
    • maxPushDescriptors

      public int maxPushDescriptors()
      Returns:
      the value of the maxPushDescriptors field.
    • dynamicRenderingLocalReadDepthStencilAttachments

      public boolean dynamicRenderingLocalReadDepthStencilAttachments()
      Returns:
      the value of the dynamicRenderingLocalReadDepthStencilAttachments field.
    • dynamicRenderingLocalReadMultisampledAttachments

      public boolean dynamicRenderingLocalReadMultisampledAttachments()
      Returns:
      the value of the dynamicRenderingLocalReadMultisampledAttachments field.
    • earlyFragmentMultisampleCoverageAfterSampleCounting

      public boolean earlyFragmentMultisampleCoverageAfterSampleCounting()
      Returns:
      the value of the earlyFragmentMultisampleCoverageAfterSampleCounting field.
    • earlyFragmentSampleMaskTestBeforeSampleCounting

      public boolean earlyFragmentSampleMaskTestBeforeSampleCounting()
      Returns:
      the value of the earlyFragmentSampleMaskTestBeforeSampleCounting field.
    • depthStencilSwizzleOneSupport

      public boolean depthStencilSwizzleOneSupport()
      Returns:
      the value of the depthStencilSwizzleOneSupport field.
    • polygonModePointSize

      public boolean polygonModePointSize()
      Returns:
      the value of the polygonModePointSize field.
    • nonStrictSinglePixelWideLinesUseParallelogram

      public boolean nonStrictSinglePixelWideLinesUseParallelogram()
      Returns:
      the value of the nonStrictSinglePixelWideLinesUseParallelogram field.
    • nonStrictWideLinesUseParallelogram

      public boolean nonStrictWideLinesUseParallelogram()
      Returns:
      the value of the nonStrictWideLinesUseParallelogram field.
    • blockTexelViewCompatibleMultipleLayers

      public boolean blockTexelViewCompatibleMultipleLayers()
      Returns:
      the value of the blockTexelViewCompatibleMultipleLayers field.
    • maxCombinedImageSamplerDescriptorCount

      public int maxCombinedImageSamplerDescriptorCount()
      Returns:
      the value of the maxCombinedImageSamplerDescriptorCount field.
    • fragmentShadingRateClampCombinerInputs

      public boolean fragmentShadingRateClampCombinerInputs()
      Returns:
      the value of the fragmentShadingRateClampCombinerInputs field.
    • defaultRobustnessStorageBuffers

      public int defaultRobustnessStorageBuffers()
      Returns:
      the value of the defaultRobustnessStorageBuffers field.
    • defaultRobustnessUniformBuffers

      public int defaultRobustnessUniformBuffers()
      Returns:
      the value of the defaultRobustnessUniformBuffers field.
    • defaultRobustnessVertexInputs

      public int defaultRobustnessVertexInputs()
      Returns:
      the value of the defaultRobustnessVertexInputs field.
    • defaultRobustnessImages

      public int defaultRobustnessImages()
      Returns:
      the value of the defaultRobustnessImages field.
    • copySrcLayoutCount

      public int copySrcLayoutCount()
      Returns:
      the value of the copySrcLayoutCount field.
    • pCopySrcLayouts

      public @Nullable IntBuffer pCopySrcLayouts()
      Returns:
      a IntBuffer view of the data pointed to by the pCopySrcLayouts field.
    • copyDstLayoutCount

      public int copyDstLayoutCount()
      Returns:
      the value of the copyDstLayoutCount field.
    • pCopyDstLayouts

      public @Nullable IntBuffer pCopyDstLayouts()
      Returns:
      a IntBuffer view of the data pointed to by the pCopyDstLayouts field.
    • optimalTilingLayoutUUID

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

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

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

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

      public VkPhysicalDeviceVulkan14Properties sType$Default()
      Sets the STRUCTURE_TYPE_PHYSICAL_DEVICE_VULKAN_1_4_PROPERTIES value to the sType field.
    • pNext

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

      public VkPhysicalDeviceVulkan14Properties 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 VkPhysicalDeviceVulkan14Properties malloc()
      Returns a new VkPhysicalDeviceVulkan14Properties instance allocated with memAlloc. The instance must be explicitly freed.
    • calloc

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

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

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

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

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

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

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

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

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

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

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

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

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

      public static int nlineSubPixelPrecisionBits(long struct)
      Unsafe version of lineSubPixelPrecisionBits().
    • nmaxVertexAttribDivisor

      public static int nmaxVertexAttribDivisor(long struct)
      Unsafe version of maxVertexAttribDivisor().
    • nsupportsNonZeroFirstInstance

      public static int nsupportsNonZeroFirstInstance(long struct)
    • nmaxPushDescriptors

      public static int nmaxPushDescriptors(long struct)
      Unsafe version of maxPushDescriptors().
    • ndynamicRenderingLocalReadDepthStencilAttachments

      public static int ndynamicRenderingLocalReadDepthStencilAttachments(long struct)
    • ndynamicRenderingLocalReadMultisampledAttachments

      public static int ndynamicRenderingLocalReadMultisampledAttachments(long struct)
    • nearlyFragmentMultisampleCoverageAfterSampleCounting

      public static int nearlyFragmentMultisampleCoverageAfterSampleCounting(long struct)
    • nearlyFragmentSampleMaskTestBeforeSampleCounting

      public static int nearlyFragmentSampleMaskTestBeforeSampleCounting(long struct)
    • ndepthStencilSwizzleOneSupport

      public static int ndepthStencilSwizzleOneSupport(long struct)
    • npolygonModePointSize

      public static int npolygonModePointSize(long struct)
      Unsafe version of polygonModePointSize().
    • nnonStrictSinglePixelWideLinesUseParallelogram

      public static int nnonStrictSinglePixelWideLinesUseParallelogram(long struct)
    • nnonStrictWideLinesUseParallelogram

      public static int nnonStrictWideLinesUseParallelogram(long struct)
    • nblockTexelViewCompatibleMultipleLayers

      public static int nblockTexelViewCompatibleMultipleLayers(long struct)
    • nmaxCombinedImageSamplerDescriptorCount

      public static int nmaxCombinedImageSamplerDescriptorCount(long struct)
    • nfragmentShadingRateClampCombinerInputs

      public static int nfragmentShadingRateClampCombinerInputs(long struct)
    • ndefaultRobustnessStorageBuffers

      public static int ndefaultRobustnessStorageBuffers(long struct)
    • ndefaultRobustnessUniformBuffers

      public static int ndefaultRobustnessUniformBuffers(long struct)
    • ndefaultRobustnessVertexInputs

      public static int ndefaultRobustnessVertexInputs(long struct)
    • ndefaultRobustnessImages

      public static int ndefaultRobustnessImages(long struct)
      Unsafe version of defaultRobustnessImages().
    • ncopySrcLayoutCount

      public static int ncopySrcLayoutCount(long struct)
      Unsafe version of copySrcLayoutCount().
    • npCopySrcLayouts

      public static @Nullable IntBuffer npCopySrcLayouts(long struct)
      Unsafe version of pCopySrcLayouts.
    • ncopyDstLayoutCount

      public static int ncopyDstLayoutCount(long struct)
      Unsafe version of copyDstLayoutCount().
    • npCopyDstLayouts

      public static @Nullable IntBuffer npCopyDstLayouts(long struct)
      Unsafe version of pCopyDstLayouts.
    • noptimalTilingLayoutUUID

      public static ByteBuffer noptimalTilingLayoutUUID(long struct)
      Unsafe version of optimalTilingLayoutUUID().
    • noptimalTilingLayoutUUID

      public static byte noptimalTilingLayoutUUID(long struct, int index)
      Unsafe version of optimalTilingLayoutUUID.
    • nidenticalMemoryTypeRequirements

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