Class VulkanPhysicalDeviceFeatures10
java.lang.Object
com.io7m.jcoronado.api.VulkanPhysicalDeviceFeatures10
- All Implemented Interfaces:
VulkanPhysicalDeviceFeatures10Type
public final class VulkanPhysicalDeviceFeatures10
extends Object
implements VulkanPhysicalDeviceFeatures10Type
The features supported by a physical device.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classBuilds instances of typeVulkanPhysicalDeviceFeatures10. -
Method Summary
Modifier and TypeMethodDescriptionbooleanbuilder()Creates a builder forVulkanPhysicalDeviceFeatures10.copyOf(VulkanPhysicalDeviceFeatures10Type instance) Creates an immutable copy of aVulkanPhysicalDeviceFeatures10Typevalue.booleanbooleanbooleanbooleanbooleanbooleanThis instance is equal to all instances ofVulkanPhysicalDeviceFeatures10that have equal attribute values.booleanbooleanbooleanbooleaninthashCode()Computes a hash code from attributes:alphaToOne,depthBiasClamp,depthBounds,depthClamp,drawIndirectFirstInstance,dualSrcBlend,fillModeNonSolid,fragmentStoresAndAtomics,fullDrawIndexUint32,geometryShader,imageCubeArray,independentBlend,inheritedQueries,largePoints,logicOp,multiDrawIndirect,multiViewport,occlusionQueryPrecise,pipelineStatisticsQuery,robustBufferAccess,samplerAnisotropy,sampleRateShading,shaderClipDistance,shaderCullDistance,shaderFloat64,shaderImageGatherExtended,shaderInt16,shaderInt64,shaderResourceMinLod,shaderResourceResidency,shaderSampledImageArrayDynamicIndexing,shaderStorageBufferArrayDynamicIndexing,shaderStorageImageArrayDynamicIndexing,shaderStorageImageExtendedFormats,shaderStorageImageMultisample,shaderStorageImageReadWithoutFormat,shaderStorageImageWriteWithoutFormat,shaderTessellationAndGeometryPointSize,shaderUniformBufferArrayDynamicIndexing,sparseBinding,sparseResidency16Samples,sparseResidency2Samples,sparseResidency4Samples,sparseResidency8Samples,sparseResidencyAliased,sparseResidencyBuffer,sparseResidencyImage2D,sparseResidencyImage3D,tessellationShader,textureCompressionASTC_LDR,textureCompressionBC,textureCompressionETC2,variableMultisampleRate,vertexPipelineStoresAndAtomics,wideLines.booleanbooleanbooleanbooleanbooleanlogicOp()booleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleantoString()Prints the immutable valueVulkanPhysicalDeviceFeatures10with attribute values.booleanbooleanbooleanwithAlphaToOne(boolean value) Copy the current immutable object by setting a value for thealphaToOneattribute.withDepthBiasClamp(boolean value) Copy the current immutable object by setting a value for thedepthBiasClampattribute.withDepthBounds(boolean value) Copy the current immutable object by setting a value for thedepthBoundsattribute.withDepthClamp(boolean value) Copy the current immutable object by setting a value for thedepthClampattribute.withDrawIndirectFirstInstance(boolean value) Copy the current immutable object by setting a value for thedrawIndirectFirstInstanceattribute.withDualSrcBlend(boolean value) Copy the current immutable object by setting a value for thedualSrcBlendattribute.withFillModeNonSolid(boolean value) Copy the current immutable object by setting a value for thefillModeNonSolidattribute.withFragmentStoresAndAtomics(boolean value) Copy the current immutable object by setting a value for thefragmentStoresAndAtomicsattribute.withFullDrawIndexUint32(boolean value) Copy the current immutable object by setting a value for thefullDrawIndexUint32attribute.withGeometryShader(boolean value) Copy the current immutable object by setting a value for thegeometryShaderattribute.withImageCubeArray(boolean value) Copy the current immutable object by setting a value for theimageCubeArrayattribute.withIndependentBlend(boolean value) Copy the current immutable object by setting a value for theindependentBlendattribute.withInheritedQueries(boolean value) Copy the current immutable object by setting a value for theinheritedQueriesattribute.withLargePoints(boolean value) Copy the current immutable object by setting a value for thelargePointsattribute.withLogicOp(boolean value) Copy the current immutable object by setting a value for thelogicOpattribute.withMultiDrawIndirect(boolean value) Copy the current immutable object by setting a value for themultiDrawIndirectattribute.withMultiViewport(boolean value) Copy the current immutable object by setting a value for themultiViewportattribute.withOcclusionQueryPrecise(boolean value) Copy the current immutable object by setting a value for theocclusionQueryPreciseattribute.withPipelineStatisticsQuery(boolean value) Copy the current immutable object by setting a value for thepipelineStatisticsQueryattribute.withRobustBufferAccess(boolean value) Copy the current immutable object by setting a value for therobustBufferAccessattribute.withSamplerAnisotropy(boolean value) Copy the current immutable object by setting a value for thesamplerAnisotropyattribute.withSampleRateShading(boolean value) Copy the current immutable object by setting a value for thesampleRateShadingattribute.withShaderClipDistance(boolean value) Copy the current immutable object by setting a value for theshaderClipDistanceattribute.withShaderCullDistance(boolean value) Copy the current immutable object by setting a value for theshaderCullDistanceattribute.withShaderFloat64(boolean value) Copy the current immutable object by setting a value for theshaderFloat64attribute.withShaderImageGatherExtended(boolean value) Copy the current immutable object by setting a value for theshaderImageGatherExtendedattribute.withShaderInt16(boolean value) Copy the current immutable object by setting a value for theshaderInt16attribute.withShaderInt64(boolean value) Copy the current immutable object by setting a value for theshaderInt64attribute.withShaderResourceMinLod(boolean value) Copy the current immutable object by setting a value for theshaderResourceMinLodattribute.withShaderResourceResidency(boolean value) Copy the current immutable object by setting a value for theshaderResourceResidencyattribute.withShaderSampledImageArrayDynamicIndexing(boolean value) Copy the current immutable object by setting a value for theshaderSampledImageArrayDynamicIndexingattribute.withShaderStorageBufferArrayDynamicIndexing(boolean value) Copy the current immutable object by setting a value for theshaderStorageBufferArrayDynamicIndexingattribute.withShaderStorageImageArrayDynamicIndexing(boolean value) Copy the current immutable object by setting a value for theshaderStorageImageArrayDynamicIndexingattribute.withShaderStorageImageExtendedFormats(boolean value) Copy the current immutable object by setting a value for theshaderStorageImageExtendedFormatsattribute.withShaderStorageImageMultisample(boolean value) Copy the current immutable object by setting a value for theshaderStorageImageMultisampleattribute.withShaderStorageImageReadWithoutFormat(boolean value) Copy the current immutable object by setting a value for theshaderStorageImageReadWithoutFormatattribute.withShaderStorageImageWriteWithoutFormat(boolean value) Copy the current immutable object by setting a value for theshaderStorageImageWriteWithoutFormatattribute.withShaderTessellationAndGeometryPointSize(boolean value) Copy the current immutable object by setting a value for theshaderTessellationAndGeometryPointSizeattribute.withShaderUniformBufferArrayDynamicIndexing(boolean value) Copy the current immutable object by setting a value for theshaderUniformBufferArrayDynamicIndexingattribute.withSparseBinding(boolean value) Copy the current immutable object by setting a value for thesparseBindingattribute.withSparseResidency16Samples(boolean value) Copy the current immutable object by setting a value for thesparseResidency16Samplesattribute.withSparseResidency2Samples(boolean value) Copy the current immutable object by setting a value for thesparseResidency2Samplesattribute.withSparseResidency4Samples(boolean value) Copy the current immutable object by setting a value for thesparseResidency4Samplesattribute.withSparseResidency8Samples(boolean value) Copy the current immutable object by setting a value for thesparseResidency8Samplesattribute.withSparseResidencyAliased(boolean value) Copy the current immutable object by setting a value for thesparseResidencyAliasedattribute.withSparseResidencyBuffer(boolean value) Copy the current immutable object by setting a value for thesparseResidencyBufferattribute.withSparseResidencyImage2D(boolean value) Copy the current immutable object by setting a value for thesparseResidencyImage2Dattribute.withSparseResidencyImage3D(boolean value) Copy the current immutable object by setting a value for thesparseResidencyImage3Dattribute.withTessellationShader(boolean value) Copy the current immutable object by setting a value for thetessellationShaderattribute.withTextureCompressionASTC_LDR(boolean value) Copy the current immutable object by setting a value for thetextureCompressionASTC_LDRattribute.withTextureCompressionBC(boolean value) Copy the current immutable object by setting a value for thetextureCompressionBCattribute.withTextureCompressionETC2(boolean value) Copy the current immutable object by setting a value for thetextureCompressionETC2attribute.withVariableMultisampleRate(boolean value) Copy the current immutable object by setting a value for thevariableMultisampleRateattribute.withVertexPipelineStoresAndAtomics(boolean value) Copy the current immutable object by setting a value for thevertexPipelineStoresAndAtomicsattribute.withWideLines(boolean value) Copy the current immutable object by setting a value for thewideLinesattribute.
-
Method Details
-
alphaToOne
public boolean alphaToOne()- Specified by:
alphaToOnein interfaceVulkanPhysicalDeviceFeatures10Type- Returns:
- alphaToOne : specifies whether the implementation is able to replace the alpha value of the color fragment output from the fragment shader with the maximum representable alpha value for fixed-point colors or 1.0 for floating-point colors. If this feature is not enabled, then the alphaToOneEnable member of the VkPipelineMultisampleStateCreateInfo structure must be set to VK_FALSE. Otherwise setting alphaToOneEnable to VK_TRUE will enable alpha-to-one behavior.
-
depthBiasClamp
public boolean depthBiasClamp()- Specified by:
depthBiasClampin interfaceVulkanPhysicalDeviceFeatures10Type- Returns:
- depthBiasClamp : specifies whether depth bias clamping is supported. If this feature is not enabled, the depthBiasClamp member of the VkPipelineRasterizationStateCreateInfo structure must be set to 0.0 unless the VK_DYNAMIC_STATE_DEPTH_BIAS dynamic state is enabled, and the depthBiasClamp parameter to vkCmdSetDepthBias must be set to 0.0.
-
depthBounds
public boolean depthBounds()- Specified by:
depthBoundsin interfaceVulkanPhysicalDeviceFeatures10Type- Returns:
- depthBounds : specifies whether depth bounds tests are supported. If this feature is not enabled, the depthBoundsTestEnable member of the VkPipelineDepthStencilStateCreateInfo structure must be set to VK_FALSE. When depthBoundsTestEnable is set to VK_FALSE, the minDepthBounds and maxDepthBounds members of the VkPipelineDepthStencilStateCreateInfo structure are ignored.
-
depthClamp
public boolean depthClamp()- Specified by:
depthClampin interfaceVulkanPhysicalDeviceFeatures10Type- Returns:
- depthClamp : specifies whether depth clamping is supported. If this feature is not enabled, the depthClampEnable member of the VkPipelineRasterizationStateCreateInfo structure must be set to VK_FALSE. Otherwise, setting depthClampEnable to VK_TRUE will enable depth clamping.
-
drawIndirectFirstInstance
public boolean drawIndirectFirstInstance()- Specified by:
drawIndirectFirstInstancein interfaceVulkanPhysicalDeviceFeatures10Type- Returns:
- drawIndirectFirstInstance : specifies whether indirect draw calls support the firstInstance parameter. If this feature is not enabled, the firstInstance member of all VkDrawIndirectCommand and VkDrawIndexedIndirectCommand structures that are provided to the vkCmdDrawIndirect and vkCmdDrawIndexedIndirect commands must be 0.
-
dualSrcBlend
public boolean dualSrcBlend()- Specified by:
dualSrcBlendin interfaceVulkanPhysicalDeviceFeatures10Type- Returns:
- dualSrcBlend : specifies whether blend operations which take two sources are supported. If this feature is not enabled, the VK_BLEND_FACTOR_SRC1_COLOR, VK_BLEND_FACTOR_ONE_MINUS_SRC1_COLOR, VK_BLEND_FACTOR_SRC1_ALPHA, and VK_BLEND_FACTOR_ONE_MINUS_SRC1_ALPHA enum values must not be used as source or destination blending factors. See ../../html/vkspec.html#framebuffer-dsb.
-
fillModeNonSolid
public boolean fillModeNonSolid()- Specified by:
fillModeNonSolidin interfaceVulkanPhysicalDeviceFeatures10Type- Returns:
- fillModeNonSolid : specifies whether point and wireframe fill modes are supported. If this feature is not enabled, the VK_POLYGON_MODE_POINT and VK_POLYGON_MODE_LINE enum values must not be used.
-
fragmentStoresAndAtomics
public boolean fragmentStoresAndAtomics()- Specified by:
fragmentStoresAndAtomicsin interfaceVulkanPhysicalDeviceFeatures10Type- Returns:
- fragmentStoresAndAtomics : specifies whether storage buffers and images support stores and atomic operations in the fragment shader stage. If this feature is not enabled, all storage image, storage texel buffers, and storage buffer variables used by the fragment stage in shader modules must be decorated with the NonWriteable decoration (or the readonly memory qualifier in GLSL).
-
fullDrawIndexUint32
public boolean fullDrawIndexUint32()- Specified by:
fullDrawIndexUint32in interfaceVulkanPhysicalDeviceFeatures10Type- Returns:
- fullDrawIndexUint32 : specifies the full 32-bit range of indices is supported for indexed draw calls when using a VkIndexType of VK_INDEX_TYPE_UINT32. maxDrawIndexedIndexValue is the maximum index value that may be used (aside from the primitive restart index, which is always 232-1 when the VkIndexType is VK_INDEX_TYPE_UINT32). If this feature is supported, maxDrawIndexedIndexValue must be 232-1; otherwise it must be no smaller than 224-1. See maxDrawIndexedIndexValue.
-
geometryShader
public boolean geometryShader()- Specified by:
geometryShaderin interfaceVulkanPhysicalDeviceFeatures10Type- Returns:
- geometryShader : specifies whether geometry shaders are supported. If this feature is not enabled, the VK_SHADER_STAGE_GEOMETRY_BIT and VK_PIPELINE_STAGE_GEOMETRY_SHADER_BIT enum values must not be used. This also specifies whether shader modules can declare the Geometry capability.
-
imageCubeArray
public boolean imageCubeArray()- Specified by:
imageCubeArrayin interfaceVulkanPhysicalDeviceFeatures10Type- Returns:
- imageCubeArray : specifies whether image views with a VkImageViewType of VK_IMAGE_VIEW_TYPE_CUBE_ARRAY can be created, and that the corresponding SampledCubeArray and ImageCubeArray SPIR-V capabilities can be used in shader code.
-
independentBlend
public boolean independentBlend()- Specified by:
independentBlendin interfaceVulkanPhysicalDeviceFeatures10Type- Returns:
- independentBlend : specifies whether the VkPipelineColorBlendAttachmentState settings are controlled independently per-attachment. If this feature is not enabled, the VkPipelineColorBlendAttachmentState settings for all color attachments must be identical. Otherwise, a different VkPipelineColorBlendAttachmentState can be provided for each bound color attachment.
-
inheritedQueries
public boolean inheritedQueries()- Specified by:
inheritedQueriesin interfaceVulkanPhysicalDeviceFeatures10Type- Returns:
- inheritedQueries : specifies whether a secondary command buffer may be executed while a query is active.
-
largePoints
public boolean largePoints()- Specified by:
largePointsin interfaceVulkanPhysicalDeviceFeatures10Type- Returns:
- largePoints : specifies whether points with size greater than 1.0 are supported. If this feature is not enabled, only a point size of 1.0 written by a shader is supported. The range and granularity of supported point sizes are indicated by the pointSizeRange and pointSizeGranularity members of the VkPhysicalDeviceLimits structure, respectively.
-
logicOp
public boolean logicOp()- Specified by:
logicOpin interfaceVulkanPhysicalDeviceFeatures10Type- Returns:
- logicOp : specifies whether logic operations are supported. If this feature is not enabled, the logicOpEnable member of the VkPipelineColorBlendStateCreateInfo structure must be set to VK_FALSE, and the logicOp member is ignored.
-
multiDrawIndirect
public boolean multiDrawIndirect()- Specified by:
multiDrawIndirectin interfaceVulkanPhysicalDeviceFeatures10Type- Returns:
- multiDrawIndirect : specifies whether multiple draw indirect is supported. If this feature is not enabled, the drawCount parameter to the vkCmdDrawIndirect and vkCmdDrawIndexedIndirect commands must be 0 or 1. The maxDrawIndirectCount member of the VkPhysicalDeviceLimits structure must also be 1 if this feature is not supported. See maxDrawIndirectCount.
-
multiViewport
public boolean multiViewport()- Specified by:
multiViewportin interfaceVulkanPhysicalDeviceFeatures10Type- Returns:
- multiViewport : specifies whether more than one viewport is supported. If this feature is not enabled, the viewportCount and scissorCount members of the VkPipelineViewportStateCreateInfo structure must be set to 1. Similarly, the viewportCount parameter to the vkCmdSetViewport command and the scissorCount parameter to the vkCmdSetScissor command must be 1, and the firstViewport parameter to the vkCmdSetViewport command and the firstScissor parameter to the vkCmdSetScissor command must be 0.
-
occlusionQueryPrecise
public boolean occlusionQueryPrecise()- Specified by:
occlusionQueryPrecisein interfaceVulkanPhysicalDeviceFeatures10Type- Returns:
- occlusionQueryPrecise : specifies whether occlusion queries returning actual sample counts are supported. Occlusion queries are created in a VkQueryPool by specifying the queryType of VK_QUERY_TYPE_OCCLUSION in the VkQueryPoolCreateInfo structure which is passed to vkCreateQueryPool. If this feature is enabled, queries of this type can enable VK_QUERY_CONTROL_PRECISE_BIT in the flags parameter to vkCmdBeginQuery. If this feature is not supported, the implementation supports only boolean occlusion queries. When any samples are passed, boolean queries will return a non-zero result value, otherwise a result value of zero is returned. When this feature is enabled and VK_QUERY_CONTROL_PRECISE_BIT is set, occlusion queries will report the actual number of samples passed.
-
pipelineStatisticsQuery
public boolean pipelineStatisticsQuery()- Specified by:
pipelineStatisticsQueryin interfaceVulkanPhysicalDeviceFeatures10Type- Returns:
- pipelineStatisticsQuery : specifies whether the pipeline statistics queries are supported. If this feature is not enabled, queries of type VK_QUERY_TYPE_PIPELINE_STATISTICS cannot be created, and none of the VkQueryPipelineStatisticFlagBits bits can be set in the pipelineStatistics member of the VkQueryPoolCreateInfo structure.
-
robustBufferAccess
public boolean robustBufferAccess()- Specified by:
robustBufferAccessin interfaceVulkanPhysicalDeviceFeatures10Type- Returns:
- robustBufferAccess : specifies that accesses to buffers are bounds-checked against the range of the buffer descriptor (as determined by VkDescriptorBufferInfo::range, VkBufferViewCreateInfo::range, or the size of the buffer). Out of bounds accesses must not cause application termination, and the effects of shader loads, stores, and atomics must conform to an implementation-dependent behavior as described below.
-
samplerAnisotropy
public boolean samplerAnisotropy()- Specified by:
samplerAnisotropyin interfaceVulkanPhysicalDeviceFeatures10Type- Returns:
- samplerAnisotropy : specifies whether anisotropic filtering is supported. If this feature is not enabled, the anisotropyEnable member of the VkSamplerCreateInfo structure must be VK_FALSE.
-
sampleRateShading
public boolean sampleRateShading()- Specified by:
sampleRateShadingin interfaceVulkanPhysicalDeviceFeatures10Type- Returns:
- sampleRateShading : specifies whether Sample Shading and multisample interpolation are supported. If this feature is not enabled, the sampleShadingEnable member of the VkPipelineMultisampleStateCreateInfo structure must be set to VK_FALSE and the minSampleShading member is ignored. This also specifies whether shader modules can declare the SampleRateShading capability.
-
shaderClipDistance
public boolean shaderClipDistance()- Specified by:
shaderClipDistancein interfaceVulkanPhysicalDeviceFeatures10Type- Returns:
- shaderClipDistance : specifies whether clip distances are supported in shader code. If this feature is not enabled, any members decorated with the ClipDistance built-in decoration must not be read from or written to in shader modules. This also specifies whether shader modules can declare the ClipDistance capability.
-
shaderCullDistance
public boolean shaderCullDistance()- Specified by:
shaderCullDistancein interfaceVulkanPhysicalDeviceFeatures10Type- Returns:
- shaderCullDistance : specifies whether cull distances are supported in shader code. If this feature is not enabled, any members decorated with the CullDistance built-in decoration must not be read from or written to in shader modules. This also specifies whether shader modules can declare the CullDistance capability.
-
shaderFloat64
public boolean shaderFloat64()- Specified by:
shaderFloat64in interfaceVulkanPhysicalDeviceFeatures10Type- Returns:
- shaderFloat64 : specifies whether 64-bit floats (doubles) are supported in shader code. If this feature is not enabled, 64-bit floating-point types must not be used in shader code. This also specifies whether shader modules can declare the Float64 capability.
-
shaderImageGatherExtended
public boolean shaderImageGatherExtended()- Specified by:
shaderImageGatherExtendedin interfaceVulkanPhysicalDeviceFeatures10Type- Returns:
- shaderImageGatherExtended : specifies whether the extended set of image gather instructions are available in shader code. If this feature is not enabled, the OpImage*Gather instructions do not support the Offset and ConstOffsets operands. This also specifies whether shader modules can declare the ImageGatherExtended capability.
-
shaderInt16
public boolean shaderInt16()- Specified by:
shaderInt16in interfaceVulkanPhysicalDeviceFeatures10Type- Returns:
- shaderInt16 : specifies whether 16-bit integers (signed and unsigned) are supported in shader code. If this feature is not enabled, 16-bit integer types must not be used in shader code. This also specifies whether shader modules can declare the Int16 capability.
-
shaderInt64
public boolean shaderInt64()- Specified by:
shaderInt64in interfaceVulkanPhysicalDeviceFeatures10Type- Returns:
- shaderInt64 : specifies whether 64-bit integers (signed and unsigned) are supported in shader code. If this feature is not enabled, 64-bit integer types must not be used in shader code. This also specifies whether shader modules can declare the Int64 capability.
-
shaderResourceMinLod
public boolean shaderResourceMinLod()- Specified by:
shaderResourceMinLodin interfaceVulkanPhysicalDeviceFeatures10Type- Returns:
- shaderResourceMinLod : specifies whether image operations that specify the minimum resource LOD are supported in shader code. If this feature is not enabled, the MinLod image operand must not be used in shader code. This also specifies whether shader modules can declare the MinLod capability.
-
shaderResourceResidency
public boolean shaderResourceResidency()- Specified by:
shaderResourceResidencyin interfaceVulkanPhysicalDeviceFeatures10Type- Returns:
- shaderResourceResidency : specifies whether image operations that return resource residency information are supported in shader code. If this feature is not enabled, the OpImageSparse* instructions must not be used in shader code. This also specifies whether shader modules can declare the SparseResidency capability. The feature requires at least one of the sparseResidency* features to be supported.
-
shaderSampledImageArrayDynamicIndexing
public boolean shaderSampledImageArrayDynamicIndexing()- Specified by:
shaderSampledImageArrayDynamicIndexingin interfaceVulkanPhysicalDeviceFeatures10Type- Returns:
- shaderSampledImageArrayDynamicIndexing : specifies whether arrays of samplers or sampled images can be indexed by dynamically uniform integer expressions in shader code. If this feature is not enabled, resources with a descriptor type of VK_DESCRIPTOR_TYPE_SAMPLER, VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, or VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE must be indexed only by constant integral expressions when aggregated into arrays in shader code. This also specifies whether shader modules can declare the SampledImageArrayDynamicIndexing capability.
-
shaderStorageBufferArrayDynamicIndexing
public boolean shaderStorageBufferArrayDynamicIndexing()- Specified by:
shaderStorageBufferArrayDynamicIndexingin interfaceVulkanPhysicalDeviceFeatures10Type- Returns:
- shaderStorageBufferArrayDynamicIndexing : specifies whether arrays of storage buffers can be indexed by dynamically uniform integer expressions in shader code. If this feature is not enabled, resources with a descriptor type of VK_DESCRIPTOR_TYPE_STORAGE_BUFFER or VK_DESCRIPTOR_TYPE_STORAGE_BUFFER_DYNAMIC must be indexed only by constant integral expressions when aggregated into arrays in shader code. This also specifies whether shader modules can declare the StorageBufferArrayDynamicIndexing capability.
-
shaderStorageImageArrayDynamicIndexing
public boolean shaderStorageImageArrayDynamicIndexing()- Specified by:
shaderStorageImageArrayDynamicIndexingin interfaceVulkanPhysicalDeviceFeatures10Type- Returns:
- shaderStorageImageArrayDynamicIndexing : specifies whether arrays of storage images can be indexed by dynamically uniform integer expressions in shader code. If this feature is not enabled, resources with a descriptor type of VK_DESCRIPTOR_TYPE_STORAGE_IMAGE must be indexed only by constant integral expressions when aggregated into arrays in shader code. This also specifies whether shader modules can declare the StorageImageArrayDynamicIndexing capability.
-
shaderStorageImageExtendedFormats
public boolean shaderStorageImageExtendedFormats()- Specified by:
shaderStorageImageExtendedFormatsin interfaceVulkanPhysicalDeviceFeatures10Type- Returns:
- shaderStorageImageExtendedFormats : specifies whether the extended storage image formats are available in shader code. If this feature is not enabled, the formats requiring the StorageImageExtendedFormats capability are not supported for storage images. This also specifies whether shader modules can declare the StorageImageExtendedFormats capability.
-
shaderStorageImageMultisample
public boolean shaderStorageImageMultisample()- Specified by:
shaderStorageImageMultisamplein interfaceVulkanPhysicalDeviceFeatures10Type- Returns:
- shaderStorageImageMultisample : specifies whether multisampled storage images are supported. If this feature is not enabled, images that are created with a usage that includes VK_IMAGE_USAGE_STORAGE_BIT must be created with samples equal to VK_SAMPLE_COUNT_1_BIT. This also specifies whether shader modules can declare the StorageImageMultisample capability.
-
shaderStorageImageReadWithoutFormat
public boolean shaderStorageImageReadWithoutFormat()- Specified by:
shaderStorageImageReadWithoutFormatin interfaceVulkanPhysicalDeviceFeatures10Type- Returns:
- shaderStorageImageReadWithoutFormat : specifies whether storage images require a format qualifier to be specified when reading from storage images. If this feature is not enabled, the OpImageRead instruction must not have an OpTypeImage of Unknown. This also specifies whether shader modules can declare the StorageImageReadWithoutFormat capability.
-
shaderStorageImageWriteWithoutFormat
public boolean shaderStorageImageWriteWithoutFormat()- Specified by:
shaderStorageImageWriteWithoutFormatin interfaceVulkanPhysicalDeviceFeatures10Type- Returns:
- shaderStorageImageWriteWithoutFormat : specifies whether storage images require a format qualifier to be specified when writing to storage images. If this feature is not enabled, the OpImageWrite instruction must not have an OpTypeImage of Unknown. This also specifies whether shader modules can declare the StorageImageWriteWithoutFormat capability.
-
shaderTessellationAndGeometryPointSize
public boolean shaderTessellationAndGeometryPointSize()- Specified by:
shaderTessellationAndGeometryPointSizein interfaceVulkanPhysicalDeviceFeatures10Type- Returns:
- shaderTessellationAndGeometryPointSize : specifies whether the PointSize built-in decoration is available in the tessellation control, tessellation evaluation, and geometry shader stages. If this feature is not enabled, members decorated with the PointSize built-in decoration must not be read from or written to and all points written from a tessellation or geometry shader will have a size of 1.0. This also specifies whether shader modules can declare the TessellationPointSize capability for tessellation control and evaluation shaders, or if the shader modules can declare the GeometryPointSize capability for geometry shaders. An implementation supporting this feature must also support one or both of the tessellationShader or geometryShader features.
-
shaderUniformBufferArrayDynamicIndexing
public boolean shaderUniformBufferArrayDynamicIndexing()- Specified by:
shaderUniformBufferArrayDynamicIndexingin interfaceVulkanPhysicalDeviceFeatures10Type- Returns:
- shaderUniformBufferArrayDynamicIndexing : specifies whether arrays of uniform buffers can be indexed by dynamically uniform integer expressions in shader code. If this feature is not enabled, resources with a descriptor type of VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER or VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER_DYNAMIC must be indexed only by constant integral expressions when aggregated into arrays in shader code. This also specifies whether shader modules can declare the UniformBufferArrayDynamicIndexing capability.
-
sparseBinding
public boolean sparseBinding()- Specified by:
sparseBindingin interfaceVulkanPhysicalDeviceFeatures10Type- Returns:
- sparseBinding : specifies whether resource memory can be managed at opaque sparse block level instead of at the object level. If this feature is not enabled, resource memory must be bound only on a per-object basis using the vkBindBufferMemory and vkBindImageMemory commands. In this case, buffers and images must not be created with VK_BUFFER_CREATE_SPARSE_BINDING_BIT and VK_IMAGE_CREATE_SPARSE_BINDING_BIT set in the flags member of the VkBufferCreateInfo and VkImageCreateInfo structures, respectively. Otherwise resource memory can be managed as described in Sparse Resource Features.
-
sparseResidency16Samples
public boolean sparseResidency16Samples()- Specified by:
sparseResidency16Samplesin interfaceVulkanPhysicalDeviceFeatures10Type- Returns:
- sparseResidency16Samples : specifies whether the physical device can access partially resident 2D images with 16 samples per pixel. If this feature is not enabled, images with an imageType of VK_IMAGE_TYPE_2D and samples set to VK_SAMPLE_COUNT_16_BIT must not be created with VK_IMAGE_CREATE_SPARSE_RESIDENCY_BIT set in the flags member of the VkImageCreateInfo structure.
-
sparseResidency2Samples
public boolean sparseResidency2Samples()- Specified by:
sparseResidency2Samplesin interfaceVulkanPhysicalDeviceFeatures10Type- Returns:
- sparseResidency2Samples : specifies whether the physical device can access partially resident 2D images with 2 samples per pixel. If this feature is not enabled, images with an imageType of VK_IMAGE_TYPE_2D and samples set to VK_SAMPLE_COUNT_2_BIT must not be created with VK_IMAGE_CREATE_SPARSE_RESIDENCY_BIT set in the flags member of the VkImageCreateInfo structure.
-
sparseResidency4Samples
public boolean sparseResidency4Samples()- Specified by:
sparseResidency4Samplesin interfaceVulkanPhysicalDeviceFeatures10Type- Returns:
- sparseResidency4Samples : specifies whether the physical device can access partially resident 2D images with 4 samples per pixel. If this feature is not enabled, images with an imageType of VK_IMAGE_TYPE_2D and samples set to VK_SAMPLE_COUNT_4_BIT must not be created with VK_IMAGE_CREATE_SPARSE_RESIDENCY_BIT set in the flags member of the VkImageCreateInfo structure.
-
sparseResidency8Samples
public boolean sparseResidency8Samples()- Specified by:
sparseResidency8Samplesin interfaceVulkanPhysicalDeviceFeatures10Type- Returns:
- sparseResidency8Samples : specifies whether the physical device can access partially resident 2D images with 8 samples per pixel. If this feature is not enabled, images with an imageType of VK_IMAGE_TYPE_2D and samples set to VK_SAMPLE_COUNT_8_BIT must not be created with VK_IMAGE_CREATE_SPARSE_RESIDENCY_BIT set in the flags member of the VkImageCreateInfo structure.
-
sparseResidencyAliased
public boolean sparseResidencyAliased()- Specified by:
sparseResidencyAliasedin interfaceVulkanPhysicalDeviceFeatures10Type- Returns:
- sparseResidencyAliased : specifies whether the physical device can correctly access data aliased into multiple locations. If this feature is not enabled, the VK_BUFFER_CREATE_SPARSE_ALIASED_BIT and VK_IMAGE_CREATE_SPARSE_ALIASED_BIT enum values must not be used in flags members of the VkBufferCreateInfo and VkImageCreateInfo structures, respectively.
-
sparseResidencyBuffer
public boolean sparseResidencyBuffer()- Specified by:
sparseResidencyBufferin interfaceVulkanPhysicalDeviceFeatures10Type- Returns:
- sparseResidencyBuffer : specifies whether the device can access partially resident buffers. If this feature is not enabled, buffers must not be created with VK_BUFFER_CREATE_SPARSE_RESIDENCY_BIT set in the flags member of the VkBufferCreateInfo structure.
-
sparseResidencyImage2D
public boolean sparseResidencyImage2D()- Specified by:
sparseResidencyImage2Din interfaceVulkanPhysicalDeviceFeatures10Type- Returns:
- sparseResidencyImage2D : specifies whether the device can access partially resident 2D images with 1 sample per pixel. If this feature is not enabled, images with an imageType of VK_IMAGE_TYPE_2D and samples set to VK_SAMPLE_COUNT_1_BIT must not be created with VK_IMAGE_CREATE_SPARSE_RESIDENCY_BIT set in the flags member of the VkImageCreateInfo structure.
-
sparseResidencyImage3D
public boolean sparseResidencyImage3D()- Specified by:
sparseResidencyImage3Din interfaceVulkanPhysicalDeviceFeatures10Type- Returns:
- sparseResidencyImage3D : specifies whether the device can access partially resident 3D images. If this feature is not enabled, images with an imageType of VK_IMAGE_TYPE_3D must not be created with VK_IMAGE_CREATE_SPARSE_RESIDENCY_BIT set in the flags member of the VkImageCreateInfo structure.
-
tessellationShader
public boolean tessellationShader()- Specified by:
tessellationShaderin interfaceVulkanPhysicalDeviceFeatures10Type- Returns:
- tessellationShader : specifies whether tessellation control and evaluation shaders are supported. If this feature is not enabled, the VK_SHADER_STAGE_TESSELLATION_CONTROL_BIT, VK_SHADER_STAGE_TESSELLATION_EVALUATION_BIT, VK_PIPELINE_STAGE_TESSELLATION_CONTROL_SHADER_BIT, VK_PIPELINE_STAGE_TESSELLATION_EVALUATION_SHADER_BIT, and VK_STRUCTURE_TYPE_PIPELINE_TESSELLATION_STATE_CREATE_INFO enum values must not be used. This also specifies whether shader modules can declare the Tessellation capability.
-
textureCompressionASTC_LDR
public boolean textureCompressionASTC_LDR()- Specified by:
textureCompressionASTC_LDRin interfaceVulkanPhysicalDeviceFeatures10Type- Returns:
- textureCompressionASTC_LDR : specifies whether all of the ASTC LDR compressed texture formats are supported. vkGetPhysicalDeviceFormatProperties and vkGetPhysicalDeviceImageFormatProperties can be used to check for additional supported properties of individual formats.
-
textureCompressionBC
public boolean textureCompressionBC()- Specified by:
textureCompressionBCin interfaceVulkanPhysicalDeviceFeatures10Type- Returns:
- textureCompressionBC : specifies whether all of the BC compressed texture formats are supported. vkGetPhysicalDeviceFormatProperties and vkGetPhysicalDeviceImageFormatProperties can be used to check for additional supported properties of individual formats.
-
textureCompressionETC2
public boolean textureCompressionETC2()- Specified by:
textureCompressionETC2in interfaceVulkanPhysicalDeviceFeatures10Type- Returns:
- textureCompressionETC2 : specifies whether all of the ETC2 and EAC compressed texture formats are supported. vkGetPhysicalDeviceFormatProperties and vkGetPhysicalDeviceImageFormatProperties can be used to check for additional supported properties of individual formats.
-
variableMultisampleRate
public boolean variableMultisampleRate()- Specified by:
variableMultisampleRatein interfaceVulkanPhysicalDeviceFeatures10Type- Returns:
- variableMultisampleRate : specifies whether all pipelines that will be bound to a command buffer during a subpass with no attachments must have the same value for VkPipelineMultisampleStateCreateInfo::rasterizationSamples. If set to VK_TRUE, the implementation supports variable multisample rates in a subpass with no attachments. If set to VK_FALSE, then all pipelines bound in such a subpass must have the same multisample rate. This has no effect in situations where a subpass uses any attachments.
-
vertexPipelineStoresAndAtomics
public boolean vertexPipelineStoresAndAtomics()- Specified by:
vertexPipelineStoresAndAtomicsin interfaceVulkanPhysicalDeviceFeatures10Type- Returns:
- vertexPipelineStoresAndAtomics : specifies whether storage buffers and images support stores and atomic operations in the vertex, tessellation, and geometry shader stages. If this feature is not enabled, all storage image, storage texel buffers, and storage buffer variables used by these stages in shader modules must be decorated with the NonWriteable decoration (or the readonly memory qualifier in GLSL).
-
wideLines
public boolean wideLines()- Specified by:
wideLinesin interfaceVulkanPhysicalDeviceFeatures10Type- Returns:
- wideLines : specifies whether lines with width other than 1.0 are supported. If this feature is not enabled, the lineWidth member of the VkPipelineRasterizationStateCreateInfo structure must be set to 1.0 unless the VK_DYNAMIC_STATE_LINE_WIDTH dynamic state is enabled, and the lineWidth parameter to vkCmdSetLineWidth must be set to 1.0. When this feature is supported, the range and granularity of supported line widths are indicated by the lineWidthRange and lineWidthGranularity members of the VkPhysicalDeviceLimits structure, respectively.
-
withAlphaToOne
Copy the current immutable object by setting a value for thealphaToOneattribute. A value equality check is used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for alphaToOne- Returns:
- A modified copy of the
thisobject
-
withDepthBiasClamp
Copy the current immutable object by setting a value for thedepthBiasClampattribute. A value equality check is used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for depthBiasClamp- Returns:
- A modified copy of the
thisobject
-
withDepthBounds
Copy the current immutable object by setting a value for thedepthBoundsattribute. A value equality check is used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for depthBounds- Returns:
- A modified copy of the
thisobject
-
withDepthClamp
Copy the current immutable object by setting a value for thedepthClampattribute. A value equality check is used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for depthClamp- Returns:
- A modified copy of the
thisobject
-
withDrawIndirectFirstInstance
Copy the current immutable object by setting a value for thedrawIndirectFirstInstanceattribute. A value equality check is used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for drawIndirectFirstInstance- Returns:
- A modified copy of the
thisobject
-
withDualSrcBlend
Copy the current immutable object by setting a value for thedualSrcBlendattribute. A value equality check is used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for dualSrcBlend- Returns:
- A modified copy of the
thisobject
-
withFillModeNonSolid
Copy the current immutable object by setting a value for thefillModeNonSolidattribute. A value equality check is used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for fillModeNonSolid- Returns:
- A modified copy of the
thisobject
-
withFragmentStoresAndAtomics
Copy the current immutable object by setting a value for thefragmentStoresAndAtomicsattribute. A value equality check is used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for fragmentStoresAndAtomics- Returns:
- A modified copy of the
thisobject
-
withFullDrawIndexUint32
Copy the current immutable object by setting a value for thefullDrawIndexUint32attribute. A value equality check is used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for fullDrawIndexUint32- Returns:
- A modified copy of the
thisobject
-
withGeometryShader
Copy the current immutable object by setting a value for thegeometryShaderattribute. A value equality check is used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for geometryShader- Returns:
- A modified copy of the
thisobject
-
withImageCubeArray
Copy the current immutable object by setting a value for theimageCubeArrayattribute. A value equality check is used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for imageCubeArray- Returns:
- A modified copy of the
thisobject
-
withIndependentBlend
Copy the current immutable object by setting a value for theindependentBlendattribute. A value equality check is used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for independentBlend- Returns:
- A modified copy of the
thisobject
-
withInheritedQueries
Copy the current immutable object by setting a value for theinheritedQueriesattribute. A value equality check is used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for inheritedQueries- Returns:
- A modified copy of the
thisobject
-
withLargePoints
Copy the current immutable object by setting a value for thelargePointsattribute. A value equality check is used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for largePoints- Returns:
- A modified copy of the
thisobject
-
withLogicOp
Copy the current immutable object by setting a value for thelogicOpattribute. A value equality check is used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for logicOp- Returns:
- A modified copy of the
thisobject
-
withMultiDrawIndirect
Copy the current immutable object by setting a value for themultiDrawIndirectattribute. A value equality check is used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for multiDrawIndirect- Returns:
- A modified copy of the
thisobject
-
withMultiViewport
Copy the current immutable object by setting a value for themultiViewportattribute. A value equality check is used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for multiViewport- Returns:
- A modified copy of the
thisobject
-
withOcclusionQueryPrecise
Copy the current immutable object by setting a value for theocclusionQueryPreciseattribute. A value equality check is used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for occlusionQueryPrecise- Returns:
- A modified copy of the
thisobject
-
withPipelineStatisticsQuery
Copy the current immutable object by setting a value for thepipelineStatisticsQueryattribute. A value equality check is used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for pipelineStatisticsQuery- Returns:
- A modified copy of the
thisobject
-
withRobustBufferAccess
Copy the current immutable object by setting a value for therobustBufferAccessattribute. A value equality check is used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for robustBufferAccess- Returns:
- A modified copy of the
thisobject
-
withSamplerAnisotropy
Copy the current immutable object by setting a value for thesamplerAnisotropyattribute. A value equality check is used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for samplerAnisotropy- Returns:
- A modified copy of the
thisobject
-
withSampleRateShading
Copy the current immutable object by setting a value for thesampleRateShadingattribute. A value equality check is used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for sampleRateShading- Returns:
- A modified copy of the
thisobject
-
withShaderClipDistance
Copy the current immutable object by setting a value for theshaderClipDistanceattribute. A value equality check is used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for shaderClipDistance- Returns:
- A modified copy of the
thisobject
-
withShaderCullDistance
Copy the current immutable object by setting a value for theshaderCullDistanceattribute. A value equality check is used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for shaderCullDistance- Returns:
- A modified copy of the
thisobject
-
withShaderFloat64
Copy the current immutable object by setting a value for theshaderFloat64attribute. A value equality check is used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for shaderFloat64- Returns:
- A modified copy of the
thisobject
-
withShaderImageGatherExtended
Copy the current immutable object by setting a value for theshaderImageGatherExtendedattribute. A value equality check is used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for shaderImageGatherExtended- Returns:
- A modified copy of the
thisobject
-
withShaderInt16
Copy the current immutable object by setting a value for theshaderInt16attribute. A value equality check is used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for shaderInt16- Returns:
- A modified copy of the
thisobject
-
withShaderInt64
Copy the current immutable object by setting a value for theshaderInt64attribute. A value equality check is used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for shaderInt64- Returns:
- A modified copy of the
thisobject
-
withShaderResourceMinLod
Copy the current immutable object by setting a value for theshaderResourceMinLodattribute. A value equality check is used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for shaderResourceMinLod- Returns:
- A modified copy of the
thisobject
-
withShaderResourceResidency
Copy the current immutable object by setting a value for theshaderResourceResidencyattribute. A value equality check is used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for shaderResourceResidency- Returns:
- A modified copy of the
thisobject
-
withShaderSampledImageArrayDynamicIndexing
public final VulkanPhysicalDeviceFeatures10 withShaderSampledImageArrayDynamicIndexing(boolean value) Copy the current immutable object by setting a value for theshaderSampledImageArrayDynamicIndexingattribute. A value equality check is used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for shaderSampledImageArrayDynamicIndexing- Returns:
- A modified copy of the
thisobject
-
withShaderStorageBufferArrayDynamicIndexing
public final VulkanPhysicalDeviceFeatures10 withShaderStorageBufferArrayDynamicIndexing(boolean value) Copy the current immutable object by setting a value for theshaderStorageBufferArrayDynamicIndexingattribute. A value equality check is used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for shaderStorageBufferArrayDynamicIndexing- Returns:
- A modified copy of the
thisobject
-
withShaderStorageImageArrayDynamicIndexing
public final VulkanPhysicalDeviceFeatures10 withShaderStorageImageArrayDynamicIndexing(boolean value) Copy the current immutable object by setting a value for theshaderStorageImageArrayDynamicIndexingattribute. A value equality check is used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for shaderStorageImageArrayDynamicIndexing- Returns:
- A modified copy of the
thisobject
-
withShaderStorageImageExtendedFormats
Copy the current immutable object by setting a value for theshaderStorageImageExtendedFormatsattribute. A value equality check is used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for shaderStorageImageExtendedFormats- Returns:
- A modified copy of the
thisobject
-
withShaderStorageImageMultisample
Copy the current immutable object by setting a value for theshaderStorageImageMultisampleattribute. A value equality check is used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for shaderStorageImageMultisample- Returns:
- A modified copy of the
thisobject
-
withShaderStorageImageReadWithoutFormat
Copy the current immutable object by setting a value for theshaderStorageImageReadWithoutFormatattribute. A value equality check is used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for shaderStorageImageReadWithoutFormat- Returns:
- A modified copy of the
thisobject
-
withShaderStorageImageWriteWithoutFormat
Copy the current immutable object by setting a value for theshaderStorageImageWriteWithoutFormatattribute. A value equality check is used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for shaderStorageImageWriteWithoutFormat- Returns:
- A modified copy of the
thisobject
-
withShaderTessellationAndGeometryPointSize
public final VulkanPhysicalDeviceFeatures10 withShaderTessellationAndGeometryPointSize(boolean value) Copy the current immutable object by setting a value for theshaderTessellationAndGeometryPointSizeattribute. A value equality check is used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for shaderTessellationAndGeometryPointSize- Returns:
- A modified copy of the
thisobject
-
withShaderUniformBufferArrayDynamicIndexing
public final VulkanPhysicalDeviceFeatures10 withShaderUniformBufferArrayDynamicIndexing(boolean value) Copy the current immutable object by setting a value for theshaderUniformBufferArrayDynamicIndexingattribute. A value equality check is used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for shaderUniformBufferArrayDynamicIndexing- Returns:
- A modified copy of the
thisobject
-
withSparseBinding
Copy the current immutable object by setting a value for thesparseBindingattribute. A value equality check is used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for sparseBinding- Returns:
- A modified copy of the
thisobject
-
withSparseResidency16Samples
Copy the current immutable object by setting a value for thesparseResidency16Samplesattribute. A value equality check is used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for sparseResidency16Samples- Returns:
- A modified copy of the
thisobject
-
withSparseResidency2Samples
Copy the current immutable object by setting a value for thesparseResidency2Samplesattribute. A value equality check is used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for sparseResidency2Samples- Returns:
- A modified copy of the
thisobject
-
withSparseResidency4Samples
Copy the current immutable object by setting a value for thesparseResidency4Samplesattribute. A value equality check is used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for sparseResidency4Samples- Returns:
- A modified copy of the
thisobject
-
withSparseResidency8Samples
Copy the current immutable object by setting a value for thesparseResidency8Samplesattribute. A value equality check is used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for sparseResidency8Samples- Returns:
- A modified copy of the
thisobject
-
withSparseResidencyAliased
Copy the current immutable object by setting a value for thesparseResidencyAliasedattribute. A value equality check is used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for sparseResidencyAliased- Returns:
- A modified copy of the
thisobject
-
withSparseResidencyBuffer
Copy the current immutable object by setting a value for thesparseResidencyBufferattribute. A value equality check is used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for sparseResidencyBuffer- Returns:
- A modified copy of the
thisobject
-
withSparseResidencyImage2D
Copy the current immutable object by setting a value for thesparseResidencyImage2Dattribute. A value equality check is used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for sparseResidencyImage2D- Returns:
- A modified copy of the
thisobject
-
withSparseResidencyImage3D
Copy the current immutable object by setting a value for thesparseResidencyImage3Dattribute. A value equality check is used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for sparseResidencyImage3D- Returns:
- A modified copy of the
thisobject
-
withTessellationShader
Copy the current immutable object by setting a value for thetessellationShaderattribute. A value equality check is used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for tessellationShader- Returns:
- A modified copy of the
thisobject
-
withTextureCompressionASTC_LDR
Copy the current immutable object by setting a value for thetextureCompressionASTC_LDRattribute. A value equality check is used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for textureCompressionASTC_LDR- Returns:
- A modified copy of the
thisobject
-
withTextureCompressionBC
Copy the current immutable object by setting a value for thetextureCompressionBCattribute. A value equality check is used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for textureCompressionBC- Returns:
- A modified copy of the
thisobject
-
withTextureCompressionETC2
Copy the current immutable object by setting a value for thetextureCompressionETC2attribute. A value equality check is used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for textureCompressionETC2- Returns:
- A modified copy of the
thisobject
-
withVariableMultisampleRate
Copy the current immutable object by setting a value for thevariableMultisampleRateattribute. A value equality check is used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for variableMultisampleRate- Returns:
- A modified copy of the
thisobject
-
withVertexPipelineStoresAndAtomics
Copy the current immutable object by setting a value for thevertexPipelineStoresAndAtomicsattribute. A value equality check is used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for vertexPipelineStoresAndAtomics- Returns:
- A modified copy of the
thisobject
-
withWideLines
Copy the current immutable object by setting a value for thewideLinesattribute. A value equality check is used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for wideLines- Returns:
- A modified copy of the
thisobject
-
equals
-
hashCode
public int hashCode()Computes a hash code from attributes:alphaToOne,depthBiasClamp,depthBounds,depthClamp,drawIndirectFirstInstance,dualSrcBlend,fillModeNonSolid,fragmentStoresAndAtomics,fullDrawIndexUint32,geometryShader,imageCubeArray,independentBlend,inheritedQueries,largePoints,logicOp,multiDrawIndirect,multiViewport,occlusionQueryPrecise,pipelineStatisticsQuery,robustBufferAccess,samplerAnisotropy,sampleRateShading,shaderClipDistance,shaderCullDistance,shaderFloat64,shaderImageGatherExtended,shaderInt16,shaderInt64,shaderResourceMinLod,shaderResourceResidency,shaderSampledImageArrayDynamicIndexing,shaderStorageBufferArrayDynamicIndexing,shaderStorageImageArrayDynamicIndexing,shaderStorageImageExtendedFormats,shaderStorageImageMultisample,shaderStorageImageReadWithoutFormat,shaderStorageImageWriteWithoutFormat,shaderTessellationAndGeometryPointSize,shaderUniformBufferArrayDynamicIndexing,sparseBinding,sparseResidency16Samples,sparseResidency2Samples,sparseResidency4Samples,sparseResidency8Samples,sparseResidencyAliased,sparseResidencyBuffer,sparseResidencyImage2D,sparseResidencyImage3D,tessellationShader,textureCompressionASTC_LDR,textureCompressionBC,textureCompressionETC2,variableMultisampleRate,vertexPipelineStoresAndAtomics,wideLines. -
toString
-
copyOf
Creates an immutable copy of aVulkanPhysicalDeviceFeatures10Typevalue. Uses accessors to get values to initialize the new immutable instance. If an instance is already immutable, it is returned as is.- Parameters:
instance- The instance to copy- Returns:
- A copied immutable VulkanPhysicalDeviceFeatures10 instance
-
builder
Creates a builder forVulkanPhysicalDeviceFeatures10.VulkanPhysicalDeviceFeatures10.builder() .setAlphaToOne(boolean) // optionalalphaToOne.setDepthBiasClamp(boolean) // optionaldepthBiasClamp.setDepthBounds(boolean) // optionaldepthBounds.setDepthClamp(boolean) // optionaldepthClamp.setDrawIndirectFirstInstance(boolean) // optionaldrawIndirectFirstInstance.setDualSrcBlend(boolean) // optionaldualSrcBlend.setFillModeNonSolid(boolean) // optionalfillModeNonSolid.setFragmentStoresAndAtomics(boolean) // optionalfragmentStoresAndAtomics.setFullDrawIndexUint32(boolean) // optionalfullDrawIndexUint32.setGeometryShader(boolean) // optionalgeometryShader.setImageCubeArray(boolean) // optionalimageCubeArray.setIndependentBlend(boolean) // optionalindependentBlend.setInheritedQueries(boolean) // optionalinheritedQueries.setLargePoints(boolean) // optionallargePoints.setLogicOp(boolean) // optionallogicOp.setMultiDrawIndirect(boolean) // optionalmultiDrawIndirect.setMultiViewport(boolean) // optionalmultiViewport.setOcclusionQueryPrecise(boolean) // optionalocclusionQueryPrecise.setPipelineStatisticsQuery(boolean) // optionalpipelineStatisticsQuery.setRobustBufferAccess(boolean) // optionalrobustBufferAccess.setSamplerAnisotropy(boolean) // optionalsamplerAnisotropy.setSampleRateShading(boolean) // optionalsampleRateShading.setShaderClipDistance(boolean) // optionalshaderClipDistance.setShaderCullDistance(boolean) // optionalshaderCullDistance.setShaderFloat64(boolean) // optionalshaderFloat64.setShaderImageGatherExtended(boolean) // optionalshaderImageGatherExtended.setShaderInt16(boolean) // optionalshaderInt16.setShaderInt64(boolean) // optionalshaderInt64.setShaderResourceMinLod(boolean) // optionalshaderResourceMinLod.setShaderResourceResidency(boolean) // optionalshaderResourceResidency.setShaderSampledImageArrayDynamicIndexing(boolean) // optionalshaderSampledImageArrayDynamicIndexing.setShaderStorageBufferArrayDynamicIndexing(boolean) // optionalshaderStorageBufferArrayDynamicIndexing.setShaderStorageImageArrayDynamicIndexing(boolean) // optionalshaderStorageImageArrayDynamicIndexing.setShaderStorageImageExtendedFormats(boolean) // optionalshaderStorageImageExtendedFormats.setShaderStorageImageMultisample(boolean) // optionalshaderStorageImageMultisample.setShaderStorageImageReadWithoutFormat(boolean) // optionalshaderStorageImageReadWithoutFormat.setShaderStorageImageWriteWithoutFormat(boolean) // optionalshaderStorageImageWriteWithoutFormat.setShaderTessellationAndGeometryPointSize(boolean) // optionalshaderTessellationAndGeometryPointSize.setShaderUniformBufferArrayDynamicIndexing(boolean) // optionalshaderUniformBufferArrayDynamicIndexing.setSparseBinding(boolean) // optionalsparseBinding.setSparseResidency16Samples(boolean) // optionalsparseResidency16Samples.setSparseResidency2Samples(boolean) // optionalsparseResidency2Samples.setSparseResidency4Samples(boolean) // optionalsparseResidency4Samples.setSparseResidency8Samples(boolean) // optionalsparseResidency8Samples.setSparseResidencyAliased(boolean) // optionalsparseResidencyAliased.setSparseResidencyBuffer(boolean) // optionalsparseResidencyBuffer.setSparseResidencyImage2D(boolean) // optionalsparseResidencyImage2D.setSparseResidencyImage3D(boolean) // optionalsparseResidencyImage3D.setTessellationShader(boolean) // optionaltessellationShader.setTextureCompressionASTC_LDR(boolean) // optionaltextureCompressionASTC_LDR.setTextureCompressionBC(boolean) // optionaltextureCompressionBC.setTextureCompressionETC2(boolean) // optionaltextureCompressionETC2.setVariableMultisampleRate(boolean) // optionalvariableMultisampleRate.setVertexPipelineStoresAndAtomics(boolean) // optionalvertexPipelineStoresAndAtomics.setWideLines(boolean) // optionalwideLines.build();- Returns:
- A new VulkanPhysicalDeviceFeatures10 builder
-