Class VkPhysicalDeviceVulkan12Properties

    • Field Detail

      • SIZEOF

        The struct size in bytes.
      • ALIGNOF

        The struct alignment in bytes.
      • STYPE, PNEXT, DRIVERID, DRIVERNAME, DRIVERINFO, CONFORMANCEVERSION, DENORMBEHAVIORINDEPENDENCE, ROUNDINGMODEINDEPENDENCE, SHADERSIGNEDZEROINFNANPRESERVEFLOAT16, SHADERSIGNEDZEROINFNANPRESERVEFLOAT32, SHADERSIGNEDZEROINFNANPRESERVEFLOAT64, SHADERDENORMPRESERVEFLOAT16, SHADERDENORMPRESERVEFLOAT32, SHADERDENORMPRESERVEFLOAT64, SHADERDENORMFLUSHTOZEROFLOAT16, SHADERDENORMFLUSHTOZEROFLOAT32, SHADERDENORMFLUSHTOZEROFLOAT64, SHADERROUNDINGMODERTEFLOAT16, SHADERROUNDINGMODERTEFLOAT32, SHADERROUNDINGMODERTEFLOAT64, SHADERROUNDINGMODERTZFLOAT16, SHADERROUNDINGMODERTZFLOAT32, SHADERROUNDINGMODERTZFLOAT64, MAXUPDATEAFTERBINDDESCRIPTORSINALLPOOLS, SHADERUNIFORMBUFFERARRAYNONUNIFORMINDEXINGNATIVE, SHADERSAMPLEDIMAGEARRAYNONUNIFORMINDEXINGNATIVE, SHADERSTORAGEBUFFERARRAYNONUNIFORMINDEXINGNATIVE, SHADERSTORAGEIMAGEARRAYNONUNIFORMINDEXINGNATIVE, SHADERINPUTATTACHMENTARRAYNONUNIFORMINDEXINGNATIVE, ROBUSTBUFFERACCESSUPDATEAFTERBIND, QUADDIVERGENTIMPLICITLOD, MAXPERSTAGEDESCRIPTORUPDATEAFTERBINDSAMPLERS, MAXPERSTAGEDESCRIPTORUPDATEAFTERBINDUNIFORMBUFFERS, MAXPERSTAGEDESCRIPTORUPDATEAFTERBINDSTORAGEBUFFERS, MAXPERSTAGEDESCRIPTORUPDATEAFTERBINDSAMPLEDIMAGES, MAXPERSTAGEDESCRIPTORUPDATEAFTERBINDSTORAGEIMAGES, MAXPERSTAGEDESCRIPTORUPDATEAFTERBINDINPUTATTACHMENTS, MAXPERSTAGEUPDATEAFTERBINDRESOURCES, MAXDESCRIPTORSETUPDATEAFTERBINDSAMPLERS, MAXDESCRIPTORSETUPDATEAFTERBINDUNIFORMBUFFERS, MAXDESCRIPTORSETUPDATEAFTERBINDUNIFORMBUFFERSDYNAMIC, MAXDESCRIPTORSETUPDATEAFTERBINDSTORAGEBUFFERS, MAXDESCRIPTORSETUPDATEAFTERBINDSTORAGEBUFFERSDYNAMIC, MAXDESCRIPTORSETUPDATEAFTERBINDSAMPLEDIMAGES, MAXDESCRIPTORSETUPDATEAFTERBINDSTORAGEIMAGES, MAXDESCRIPTORSETUPDATEAFTERBINDINPUTATTACHMENTS, SUPPORTEDDEPTHRESOLVEMODES, SUPPORTEDSTENCILRESOLVEMODES, INDEPENDENTRESOLVENONE, INDEPENDENTRESOLVE, FILTERMINMAXSINGLECOMPONENTFORMATS, FILTERMINMAXIMAGECOMPONENTMAPPING, MAXTIMELINESEMAPHOREVALUEDIFFERENCE, FRAMEBUFFERINTEGERCOLORSAMPLECOUNTS

        The struct member offsets.
    • Constructor Detail

      • VkPhysicalDeviceVulkan12Properties

        public VkPhysicalDeviceVulkan12Properties​(java.nio.ByteBuffer container)
        Creates a VkPhysicalDeviceVulkan12Properties 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 Detail

      • sizeof

        public int sizeof()
        Specified by:
        sizeof in class org.lwjgl.system.Struct
      • sType

        public int sType()
        the type of this structure.
      • pNext

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

        public int driverID()
        a unique identifier for the driver of the physical device.
      • driverName, driverNameString

        public java.nio.ByteBuffer driverName()
        
        public java.lang.String driverNameString()
        
        an array of MAX_DRIVER_NAME_SIZE char containing a null-terminated UTF-8 string which is the name of the driver.
      • driverInfo, driverInfoString

        public java.nio.ByteBuffer driverInfo()
        
        public java.lang.String driverInfoString()
        
        an array of MAX_DRIVER_INFO_SIZE char containing a null-terminated UTF-8 string with additional information about the driver.
      • denormBehaviorIndependence

        public int denormBehaviorIndependence()
        a VkShaderFloatControlsIndependence value indicating whether, and how, denorm behavior can be set independently for different bit widths.
      • roundingModeIndependence

        public int roundingModeIndependence()
        a VkShaderFloatControlsIndependence value indicating whether, and how, rounding modes can be set independently for different bit widths.
      • shaderSignedZeroInfNanPreserveFloat16

        public boolean shaderSignedZeroInfNanPreserveFloat16()
        a boolean value indicating whether sign of a zero, Nans and ±∞ can be preserved in 16-bit floating-point computations. It also indicates whether the SignedZeroInfNanPreserve execution mode can be used for 16-bit floating-point types.
      • shaderSignedZeroInfNanPreserveFloat32

        public boolean shaderSignedZeroInfNanPreserveFloat32()
        a boolean value indicating whether sign of a zero, Nans and ±∞ can be preserved in 32-bit floating-point computations. It also indicates whether the SignedZeroInfNanPreserve execution mode can be used for 32-bit floating-point types.
      • shaderSignedZeroInfNanPreserveFloat64

        public boolean shaderSignedZeroInfNanPreserveFloat64()
        a boolean value indicating whether sign of a zero, Nans and ±∞ can be preserved in 64-bit floating-point computations. It also indicates whether the SignedZeroInfNanPreserve execution mode can be used for 64-bit floating-point types.
      • shaderDenormPreserveFloat16

        public boolean shaderDenormPreserveFloat16()
        a boolean value indicating whether denormals can be preserved in 16-bit floating-point computations. It also indicates whether the DenormPreserve execution mode can be used for 16-bit floating-point types.
      • shaderDenormPreserveFloat32

        public boolean shaderDenormPreserveFloat32()
        a boolean value indicating whether denormals can be preserved in 32-bit floating-point computations. It also indicates whether the DenormPreserve execution mode can be used for 32-bit floating-point types.
      • shaderDenormPreserveFloat64

        public boolean shaderDenormPreserveFloat64()
        a boolean value indicating whether denormals can be preserved in 64-bit floating-point computations. It also indicates whether the DenormPreserve execution mode can be used for 64-bit floating-point types.
      • shaderDenormFlushToZeroFloat16

        public boolean shaderDenormFlushToZeroFloat16()
        a boolean value indicating whether denormals can be flushed to zero in 16-bit floating-point computations. It also indicates whether the DenormFlushToZero execution mode can be used for 16-bit floating-point types.
      • shaderDenormFlushToZeroFloat32

        public boolean shaderDenormFlushToZeroFloat32()
        a boolean value indicating whether denormals can be flushed to zero in 32-bit floating-point computations. It also indicates whether the DenormFlushToZero execution mode can be used for 32-bit floating-point types.
      • shaderDenormFlushToZeroFloat64

        public boolean shaderDenormFlushToZeroFloat64()
        a boolean value indicating whether denormals can be flushed to zero in 64-bit floating-point computations. It also indicates whether the DenormFlushToZero execution mode can be used for 64-bit floating-point types.
      • shaderRoundingModeRTEFloat16

        public boolean shaderRoundingModeRTEFloat16()
        a boolean value indicating whether an implementation supports the round-to-nearest-even rounding mode for 16-bit floating-point arithmetic and conversion instructions. It also indicates whether the RoundingModeRTE execution mode can be used for 16-bit floating-point types.
      • shaderRoundingModeRTEFloat32

        public boolean shaderRoundingModeRTEFloat32()
        a boolean value indicating whether an implementation supports the round-to-nearest-even rounding mode for 32-bit floating-point arithmetic and conversion instructions. It also indicates whether the RoundingModeRTE execution mode can be used for 32-bit floating-point types.
      • shaderRoundingModeRTEFloat64

        public boolean shaderRoundingModeRTEFloat64()
        a boolean value indicating whether an implementation supports the round-to-nearest-even rounding mode for 64-bit floating-point arithmetic and conversion instructions. It also indicates whether the RoundingModeRTE execution mode can be used for 64-bit floating-point types.
      • shaderRoundingModeRTZFloat16

        public boolean shaderRoundingModeRTZFloat16()
        a boolean value indicating whether an implementation supports the round-towards-zero rounding mode for 16-bit floating-point arithmetic and conversion instructions. It also indicates whether the RoundingModeRTZ execution mode can be used for 16-bit floating-point types.
      • shaderRoundingModeRTZFloat32

        public boolean shaderRoundingModeRTZFloat32()
        a boolean value indicating whether an implementation supports the round-towards-zero rounding mode for 32-bit floating-point arithmetic and conversion instructions. It also indicates whether the RoundingModeRTZ execution mode can be used for 32-bit floating-point types.
      • shaderRoundingModeRTZFloat64

        public boolean shaderRoundingModeRTZFloat64()
        a boolean value indicating whether an implementation supports the round-towards-zero rounding mode for 64-bit floating-point arithmetic and conversion instructions. It also indicates whether the RoundingModeRTZ execution mode can be used for 64-bit floating-point types.
      • maxUpdateAfterBindDescriptorsInAllPools

        public int maxUpdateAfterBindDescriptorsInAllPools()
        the maximum number of descriptors (summed over all descriptor types) that can be created across all pools that are created with the DESCRIPTOR_POOL_CREATE_UPDATE_AFTER_BIND_BIT bit set. Pool creation may fail when this limit is exceeded, or when the space this limit represents is unable to satisfy a pool creation due to fragmentation.
      • shaderUniformBufferArrayNonUniformIndexingNative

        public boolean shaderUniformBufferArrayNonUniformIndexingNative()
        a boolean value indicating whether uniform buffer descriptors natively support nonuniform indexing. If this is FALSE, then a single dynamic instance of an instruction that nonuniformly indexes an array of uniform buffers may execute multiple times in order to access all the descriptors.
      • shaderSampledImageArrayNonUniformIndexingNative

        public boolean shaderSampledImageArrayNonUniformIndexingNative()
        a boolean value indicating whether sampler and image descriptors natively support nonuniform indexing. If this is FALSE, then a single dynamic instance of an instruction that nonuniformly indexes an array of samplers or images may execute multiple times in order to access all the descriptors.
      • shaderStorageBufferArrayNonUniformIndexingNative

        public boolean shaderStorageBufferArrayNonUniformIndexingNative()
        a boolean value indicating whether storage buffer descriptors natively support nonuniform indexing. If this is FALSE, then a single dynamic instance of an instruction that nonuniformly indexes an array of storage buffers may execute multiple times in order to access all the descriptors.
      • shaderStorageImageArrayNonUniformIndexingNative

        public boolean shaderStorageImageArrayNonUniformIndexingNative()
        a boolean value indicating whether storage image descriptors natively support nonuniform indexing. If this is FALSE, then a single dynamic instance of an instruction that nonuniformly indexes an array of storage images may execute multiple times in order to access all the descriptors.
      • shaderInputAttachmentArrayNonUniformIndexingNative

        public boolean shaderInputAttachmentArrayNonUniformIndexingNative()
        a boolean value indicating whether input attachment descriptors natively support nonuniform indexing. If this is FALSE, then a single dynamic instance of an instruction that nonuniformly indexes an array of input attachments may execute multiple times in order to access all the descriptors.
      • robustBufferAccessUpdateAfterBind

        public boolean robustBufferAccessUpdateAfterBind()
        a boolean value indicating whether robustBufferAccess can be enabled in a device simultaneously with descriptorBindingUniformBufferUpdateAfterBind, descriptorBindingStorageBufferUpdateAfterBind, descriptorBindingUniformTexelBufferUpdateAfterBind, and/or descriptorBindingStorageTexelBufferUpdateAfterBind. If this is FALSE, then either robustBufferAccess must be disabled or all of these update-after-bind features must be disabled.
      • quadDivergentImplicitLod

        public boolean quadDivergentImplicitLod()
        a boolean value indicating whether implicit level of detail calculations for image operations have well-defined results when the image and/or sampler objects used for the instruction are not uniform within a quad. See Derivative Image Operations.
      • maxPerStageDescriptorUpdateAfterBindSamplers

        public int maxPerStageDescriptorUpdateAfterBindSamplers()
        similar to maxPerStageDescriptorSamplers but counts descriptors from descriptor sets created with or without the DESCRIPTOR_SET_LAYOUT_CREATE_UPDATE_AFTER_BIND_POOL_BIT bit set.
      • maxPerStageDescriptorUpdateAfterBindUniformBuffers

        public int maxPerStageDescriptorUpdateAfterBindUniformBuffers()
        similar to maxPerStageDescriptorUniformBuffers but counts descriptors from descriptor sets created with or without the DESCRIPTOR_SET_LAYOUT_CREATE_UPDATE_AFTER_BIND_POOL_BIT bit set.
      • maxPerStageDescriptorUpdateAfterBindStorageBuffers

        public int maxPerStageDescriptorUpdateAfterBindStorageBuffers()
        similar to maxPerStageDescriptorStorageBuffers but counts descriptors from descriptor sets created with or without the DESCRIPTOR_SET_LAYOUT_CREATE_UPDATE_AFTER_BIND_POOL_BIT bit set.
      • maxPerStageDescriptorUpdateAfterBindSampledImages

        public int maxPerStageDescriptorUpdateAfterBindSampledImages()
        similar to maxPerStageDescriptorSampledImages but counts descriptors from descriptor sets created with or without the DESCRIPTOR_SET_LAYOUT_CREATE_UPDATE_AFTER_BIND_POOL_BIT bit set.
      • maxPerStageDescriptorUpdateAfterBindStorageImages

        public int maxPerStageDescriptorUpdateAfterBindStorageImages()
        similar to maxPerStageDescriptorStorageImages but counts descriptors from descriptor sets created with or without the DESCRIPTOR_SET_LAYOUT_CREATE_UPDATE_AFTER_BIND_POOL_BIT bit set.
      • maxPerStageDescriptorUpdateAfterBindInputAttachments

        public int maxPerStageDescriptorUpdateAfterBindInputAttachments()
        similar to maxPerStageDescriptorInputAttachments but counts descriptors from descriptor sets created with or without the DESCRIPTOR_SET_LAYOUT_CREATE_UPDATE_AFTER_BIND_POOL_BIT bit set.
      • maxDescriptorSetUpdateAfterBindUniformBuffers

        public int maxDescriptorSetUpdateAfterBindUniformBuffers()
        similar to maxDescriptorSetUniformBuffers but counts descriptors from descriptor sets created with or without the DESCRIPTOR_SET_LAYOUT_CREATE_UPDATE_AFTER_BIND_POOL_BIT bit set.
      • maxDescriptorSetUpdateAfterBindStorageBuffers

        public int maxDescriptorSetUpdateAfterBindStorageBuffers()
        similar to maxDescriptorSetStorageBuffers but counts descriptors from descriptor sets created with or without the DESCRIPTOR_SET_LAYOUT_CREATE_UPDATE_AFTER_BIND_POOL_BIT bit set.
      • maxDescriptorSetUpdateAfterBindSampledImages

        public int maxDescriptorSetUpdateAfterBindSampledImages()
        similar to maxDescriptorSetSampledImages but counts descriptors from descriptor sets created with or without the DESCRIPTOR_SET_LAYOUT_CREATE_UPDATE_AFTER_BIND_POOL_BIT bit set.
      • maxDescriptorSetUpdateAfterBindStorageImages

        public int maxDescriptorSetUpdateAfterBindStorageImages()
        similar to maxDescriptorSetStorageImages but counts descriptors from descriptor sets created with or without the DESCRIPTOR_SET_LAYOUT_CREATE_UPDATE_AFTER_BIND_POOL_BIT bit set.
      • maxDescriptorSetUpdateAfterBindInputAttachments

        public int maxDescriptorSetUpdateAfterBindInputAttachments()
        similar to maxDescriptorSetInputAttachments but counts descriptors from descriptor sets created with or without the DESCRIPTOR_SET_LAYOUT_CREATE_UPDATE_AFTER_BIND_POOL_BIT bit set.
      • supportedDepthResolveModes

        public int supportedDepthResolveModes()
        a bitmask of VkResolveModeFlagBits indicating the set of supported depth resolve modes. RESOLVE_MODE_SAMPLE_ZERO_BIT must be included in the set but implementations may support additional modes.
      • supportedStencilResolveModes

        public int supportedStencilResolveModes()
        a bitmask of VkResolveModeFlagBits indicating the set of supported stencil resolve modes. RESOLVE_MODE_SAMPLE_ZERO_BIT must be included in the set but implementations may support additional modes. RESOLVE_MODE_AVERAGE_BIT must not be included in the set.
      • independentResolveNone

        public boolean independentResolveNone()
        TRUE if the implementation supports setting the depth and stencil resolve modes to different values when one of those modes is RESOLVE_MODE_NONE. Otherwise the implementation only supports setting both modes to the same value.
      • independentResolve

        public boolean independentResolve()
        TRUE if the implementation supports all combinations of the supported depth and stencil resolve modes, including setting either depth or stencil resolve mode to RESOLVE_MODE_NONE. An implementation that supports independentResolve must also support independentResolveNone.
      • filterMinmaxSingleComponentFormats

        public boolean filterMinmaxSingleComponentFormats()
        a boolean value indicating whether a minimum set of required formats support min/max filtering.
      • filterMinmaxImageComponentMapping

        public boolean filterMinmaxImageComponentMapping()
        a boolean value indicating whether the implementation supports non-identity component mapping of the image when doing min/max filtering.
      • maxTimelineSemaphoreValueDifference

        public long maxTimelineSemaphoreValueDifference()
        indicates the maximum difference allowed by the implementation between the current value of a timeline semaphore and any pending signal or wait operations.
      • framebufferIntegerColorSampleCounts

        public int framebufferIntegerColorSampleCounts()
        a bitmask of VkSampleCountFlagBits indicating the color sample counts that are supported for all framebuffer color attachments with integer formats.
      • malloc

        public static VkPhysicalDeviceVulkan12Properties malloc()
        Returns a new VkPhysicalDeviceVulkan12Properties instance allocated with memAlloc. The instance must be explicitly freed.
      • calloc

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

        public static VkPhysicalDeviceVulkan12Properties create​(long address)
        Returns a new VkPhysicalDeviceVulkan12Properties instance for the specified memory address.
      • malloc

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

        public static VkPhysicalDeviceVulkan12Properties calloc​(org.lwjgl.system.MemoryStack stack)
        Returns a new VkPhysicalDeviceVulkan12Properties instance allocated on the specified MemoryStack and initializes all its bits to zero.
        Parameters:
        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().
      • ndriverID

        public static int ndriverID​(long struct)
        Unsafe version of driverID().
      • ndriverName

        public static java.nio.ByteBuffer ndriverName​(long struct)
        Unsafe version of driverName().
      • ndriverNameString

        public static java.lang.String ndriverNameString​(long struct)
        Unsafe version of driverNameString().
      • ndriverInfo

        public static java.nio.ByteBuffer ndriverInfo​(long struct)
        Unsafe version of driverInfo().
      • ndriverInfoString

        public static java.lang.String ndriverInfoString​(long struct)
        Unsafe version of driverInfoString().
      • ndenormBehaviorIndependence

        public static int ndenormBehaviorIndependence​(long struct)
        Unsafe version of denormBehaviorIndependence().
      • nroundingModeIndependence

        public static int nroundingModeIndependence​(long struct)
        Unsafe version of roundingModeIndependence().
      • nshaderDenormPreserveFloat16

        public static int nshaderDenormPreserveFloat16​(long struct)
      • nshaderDenormPreserveFloat32

        public static int nshaderDenormPreserveFloat32​(long struct)
      • nshaderDenormPreserveFloat64

        public static int nshaderDenormPreserveFloat64​(long struct)
      • nquadDivergentImplicitLod

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

        public static int nsupportedDepthResolveModes​(long struct)
        Unsafe version of supportedDepthResolveModes().
      • nindependentResolveNone

        public static int nindependentResolveNone​(long struct)
        Unsafe version of independentResolveNone().
      • nindependentResolve

        public static int nindependentResolve​(long struct)
        Unsafe version of independentResolve().
      • 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.