Class VkPhysicalDeviceVulkan14Properties

java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.Struct<VkPhysicalDeviceVulkan14Properties>
org.lwjgl.vulkan.VkPhysicalDeviceVulkan14Properties
All Implemented Interfaces:
AutoCloseable, org.lwjgl.system.NativeResource, org.lwjgl.system.Pointer

public class VkPhysicalDeviceVulkan14Properties extends org.lwjgl.system.Struct<VkPhysicalDeviceVulkan14Properties> implements org.lwjgl.system.NativeResource
Structure specifying physical device properties for functionality promoted to Vulkan 1.4.
Description

If the VkPhysicalDeviceVulkan14Properties structure is included in the pNext chain of the VkPhysicalDeviceProperties2 structure passed to GetPhysicalDeviceProperties2, it is filled in with each corresponding implementation-dependent property.

These properties correspond to Vulkan 1.4 functionality.

Valid Usage (Implicit)

Layout


 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()
      Specified by:
      sizeof in class org.lwjgl.system.Struct<VkPhysicalDeviceVulkan14Properties>
    • sType

      public int sType()
      a VkStructureType value identifying this structure.
    • pNext

      public long pNext()
      NULL or a pointer to a structure extending this structure.
    • lineSubPixelPrecisionBits

      public int lineSubPixelPrecisionBits()
      the number of bits of subpixel precision in framebuffer coordinates xf and yf when rasterizing line segments.
    • maxVertexAttribDivisor

      public int maxVertexAttribDivisor()
      the maximum value of the number of instances that will repeat the value of vertex attribute data when instanced rendering is enabled.
    • supportsNonZeroFirstInstance

      public boolean supportsNonZeroFirstInstance()
      specifies whether a non-zero value for the firstInstance parameter of drawing commands is supported when VkVertexInputBindingDivisorDescription::divisor is not 1.
    • maxPushDescriptors

      public int maxPushDescriptors()
      the maximum number of descriptors that can be used in a descriptor set layout created with DESCRIPTOR_SET_LAYOUT_CREATE_PUSH_DESCRIPTOR_BIT set.
    • dynamicRenderingLocalReadDepthStencilAttachments

      public boolean dynamicRenderingLocalReadDepthStencilAttachments()
      TRUE if the implementation supports local reads of depth/stencil attachments, FALSE otherwise.
    • dynamicRenderingLocalReadMultisampledAttachments

      public boolean dynamicRenderingLocalReadMultisampledAttachments()
      TRUE if the implementation supports local reads of multisampled attachments, FALSE otherwise.
    • earlyFragmentMultisampleCoverageAfterSampleCounting

      public boolean earlyFragmentMultisampleCoverageAfterSampleCounting()
      a boolean value indicating whether the fragment shading and multisample coverage operations are performed after sample counting for fragment shaders with EarlyFragmentTests execution mode.
    • earlyFragmentSampleMaskTestBeforeSampleCounting

      public boolean earlyFragmentSampleMaskTestBeforeSampleCounting()
      a boolean value indicating whether the sample mask test operation is performed before sample counting for fragment shaders using the EarlyFragmentTests execution mode.
    • depthStencilSwizzleOneSupport

      public boolean depthStencilSwizzleOneSupport()
      a boolean indicating that depth/stencil texturing operations with COMPONENT_SWIZZLE_ONE have defined behavior.
    • polygonModePointSize

      public boolean polygonModePointSize()
      a boolean value indicating whether the point size of the final rasterization of polygons with POLYGON_MODE_POINT is controlled by PointSize.
    • nonStrictSinglePixelWideLinesUseParallelogram

      public boolean nonStrictSinglePixelWideLinesUseParallelogram()
      a boolean value indicating whether non-strict lines with a width of 1.0 are rasterized as parallelograms or using Bresenham’s algorithm.
    • nonStrictWideLinesUseParallelogram

      public boolean nonStrictWideLinesUseParallelogram()
      a boolean value indicating whether non-strict lines with a width greater than 1.0 are rasterized as parallelograms or using Bresenham’s algorithm.
    • blockTexelViewCompatibleMultipleLayers

      public boolean blockTexelViewCompatibleMultipleLayers()
      a boolean value indicating that an implementation supports creating image views with IMAGE_CREATE_BLOCK_TEXEL_VIEW_COMPATIBLE_BIT where the layerCount member of subresourceRange is greater than 1.
    • maxCombinedImageSamplerDescriptorCount

      public int maxCombinedImageSamplerDescriptorCount()
      the maximum number of combined image sampler descriptors that the implementation uses to access any of the formats that require a sampler Y′CBCR conversion supported by the implementation.
    • fragmentShadingRateClampCombinerInputs

      public boolean fragmentShadingRateClampCombinerInputs()
      a boolean value indicating that an implementation clamps the inputs to combiner operations.
    • defaultRobustnessStorageBuffers

      public int defaultRobustnessStorageBuffers()
      describes the behavior of out of bounds accesses made to storage buffers when no robustness features are enabled
    • defaultRobustnessUniformBuffers

      public int defaultRobustnessUniformBuffers()
      describes the behavior of out of bounds accesses made to uniform buffers when no robustness features are enabled
    • defaultRobustnessVertexInputs

      public int defaultRobustnessVertexInputs()
      describes the behavior of out of bounds accesses made to vertex input attributes when no robustness features are enabled
    • defaultRobustnessImages

      public int defaultRobustnessImages()
      describes the behavior of out of bounds accesses made to images when no robustness features are enabled
    • copySrcLayoutCount

      public int copySrcLayoutCount()
      an integer related to the number of image layouts for host copies from images available or queried, as described below.
    • pCopySrcLayouts

      public @Nullable IntBuffer pCopySrcLayouts()
      a pointer to an array of VkImageLayout in which supported image layouts for use with host copy operations from images are returned.
    • copyDstLayoutCount

      public int copyDstLayoutCount()
      an integer related to the number of image layouts for host copies to images available or queried, as described below.
    • pCopyDstLayouts

      public @Nullable IntBuffer pCopyDstLayouts()
      a pointer to an array of VkImageLayout in which supported image layouts for use with host copy operations to images are returned.
    • optimalTilingLayoutUUID

      public ByteBuffer optimalTilingLayoutUUID()
      an array of UUID_SIZE uint8_t values representing a universally unique identifier for the implementation’s swizzling layout of images created with IMAGE_TILING_OPTIMAL.
    • optimalTilingLayoutUUID

      public byte optimalTilingLayoutUUID(int index)
      an array of UUID_SIZE uint8_t values representing a universally unique identifier for the implementation’s swizzling layout of images created with IMAGE_TILING_OPTIMAL.
    • identicalMemoryTypeRequirements

      public boolean identicalMemoryTypeRequirements()
      indicates that specifying the IMAGE_USAGE_HOST_TRANSFER_BIT flag in VkImageCreateInfo::usage does not affect the memory type requirements of the image.
    • sType

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

      public VkPhysicalDeviceVulkan14Properties sType$Default()
    • 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(org.lwjgl.system.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(org.lwjgl.system.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, org.lwjgl.system.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, org.lwjgl.system.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.