Class VulkanPhysicalDeviceFeatures14.Builder
- Enclosing class:
VulkanPhysicalDeviceFeatures14
VulkanPhysicalDeviceFeatures14.
Initialize attributes and then invoke the build() method to create an
immutable instance.
Builder is not thread-safe and generally should not be stored in a field or collection,
but instead used immediately to create instances.
-
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds a newVulkanPhysicalDeviceFeatures14.from(VulkanPhysicalDeviceFeatures14Type instance) Fill a builder with attribute values from the providedVulkanPhysicalDeviceFeatures14Typeinstance.setBresenhamLines(boolean bresenhamLines) Initializes the value for thebresenhamLinesattribute.setDynamicRenderingLocalRead(boolean dynamicRenderingLocalRead) Initializes the value for thedynamicRenderingLocalReadattribute.setGlobalPriorityQuery(boolean globalPriorityQuery) Initializes the value for theglobalPriorityQueryattribute.setHostImageCopy(boolean hostImageCopy) Initializes the value for thehostImageCopyattribute.setIndexTypeUint8(boolean indexTypeUint8) Initializes the value for theindexTypeUint8attribute.setMaintenance5(boolean maintenance5) Initializes the value for themaintenance5attribute.setMaintenance6(boolean maintenance6) Initializes the value for themaintenance6attribute.setPipelineRobustness(boolean pipelineRobustness) Initializes the value for thepipelineRobustnessattribute.setPushDescriptor(boolean pushDescriptor) Initializes the value for thepushDescriptorattribute.setRectangularLines(boolean rectangularLines) Initializes the value for therectangularLinesattribute.setShaderExpectAssume(boolean shaderExpectAssume) Initializes the value for theshaderExpectAssumeattribute.setShaderFloatControls2(boolean shaderFloatControls2) Initializes the value for theshaderFloatControls2attribute.setShaderSubgroupRotate(boolean shaderSubgroupRotate) Initializes the value for theshaderSubgroupRotateattribute.setShaderSubgroupRotateClustered(boolean shaderSubgroupRotateClustered) Initializes the value for theshaderSubgroupRotateClusteredattribute.setSmoothLines(boolean smoothLines) Initializes the value for thesmoothLinesattribute.setStippledRectangularLines(boolean stippledRectangularLines) Initializes the value for thestippledRectangularLinesattribute.setStippledSmoothLines(boolean stippledSmoothLines) Initializes the value for thestippledSmoothLinesattribute.setVertexAttributeInstanceRateDivisor(boolean vertexAttributeInstanceRateDivisor) Initializes the value for thevertexAttributeInstanceRateDivisorattribute.setVertexAttributeInstanceRateZeroDivisor(boolean vertexAttributeInstanceRateZeroDivisor) Initializes the value for thevertexAttributeInstanceRateZeroDivisorattribute.
-
Method Details
-
from
public final VulkanPhysicalDeviceFeatures14.Builder from(VulkanPhysicalDeviceFeatures14Type instance) Fill a builder with attribute values from the providedVulkanPhysicalDeviceFeatures14Typeinstance. Regular attribute values will be replaced with those from the given instance. Absent optional values will not replace present values.- Parameters:
instance- The instance from which to copy values- Returns:
thisbuilder for use in a chained invocation
-
setGlobalPriorityQuery
public final VulkanPhysicalDeviceFeatures14.Builder setGlobalPriorityQuery(boolean globalPriorityQuery) Initializes the value for theglobalPriorityQueryattribute.If not set, this attribute will have a default value as returned by the initializer of
globalPriorityQuery.- Parameters:
globalPriorityQuery- The value for globalPriorityQuery- Returns:
thisbuilder for use in a chained invocation
-
setShaderSubgroupRotate
public final VulkanPhysicalDeviceFeatures14.Builder setShaderSubgroupRotate(boolean shaderSubgroupRotate) Initializes the value for theshaderSubgroupRotateattribute.If not set, this attribute will have a default value as returned by the initializer of
shaderSubgroupRotate.- Parameters:
shaderSubgroupRotate- The value for shaderSubgroupRotate- Returns:
thisbuilder for use in a chained invocation
-
setShaderSubgroupRotateClustered
public final VulkanPhysicalDeviceFeatures14.Builder setShaderSubgroupRotateClustered(boolean shaderSubgroupRotateClustered) Initializes the value for theshaderSubgroupRotateClusteredattribute.If not set, this attribute will have a default value as returned by the initializer of
shaderSubgroupRotateClustered.- Parameters:
shaderSubgroupRotateClustered- The value for shaderSubgroupRotateClustered- Returns:
thisbuilder for use in a chained invocation
-
setShaderFloatControls2
public final VulkanPhysicalDeviceFeatures14.Builder setShaderFloatControls2(boolean shaderFloatControls2) Initializes the value for theshaderFloatControls2attribute.If not set, this attribute will have a default value as returned by the initializer of
shaderFloatControls2.- Parameters:
shaderFloatControls2- The value for shaderFloatControls2- Returns:
thisbuilder for use in a chained invocation
-
setShaderExpectAssume
public final VulkanPhysicalDeviceFeatures14.Builder setShaderExpectAssume(boolean shaderExpectAssume) Initializes the value for theshaderExpectAssumeattribute.If not set, this attribute will have a default value as returned by the initializer of
shaderExpectAssume.- Parameters:
shaderExpectAssume- The value for shaderExpectAssume- Returns:
thisbuilder for use in a chained invocation
-
setRectangularLines
Initializes the value for therectangularLinesattribute.If not set, this attribute will have a default value as returned by the initializer of
rectangularLines.- Parameters:
rectangularLines- The value for rectangularLines- Returns:
thisbuilder for use in a chained invocation
-
setBresenhamLines
Initializes the value for thebresenhamLinesattribute.If not set, this attribute will have a default value as returned by the initializer of
bresenhamLines.- Parameters:
bresenhamLines- The value for bresenhamLines- Returns:
thisbuilder for use in a chained invocation
-
setSmoothLines
Initializes the value for thesmoothLinesattribute.If not set, this attribute will have a default value as returned by the initializer of
smoothLines.- Parameters:
smoothLines- The value for smoothLines- Returns:
thisbuilder for use in a chained invocation
-
setStippledRectangularLines
public final VulkanPhysicalDeviceFeatures14.Builder setStippledRectangularLines(boolean stippledRectangularLines) Initializes the value for thestippledRectangularLinesattribute.If not set, this attribute will have a default value as returned by the initializer of
stippledRectangularLines.- Parameters:
stippledRectangularLines- The value for stippledRectangularLines- Returns:
thisbuilder for use in a chained invocation
-
setStippledSmoothLines
public final VulkanPhysicalDeviceFeatures14.Builder setStippledSmoothLines(boolean stippledSmoothLines) Initializes the value for thestippledSmoothLinesattribute.If not set, this attribute will have a default value as returned by the initializer of
stippledSmoothLines.- Parameters:
stippledSmoothLines- The value for stippledSmoothLines- Returns:
thisbuilder for use in a chained invocation
-
setVertexAttributeInstanceRateDivisor
public final VulkanPhysicalDeviceFeatures14.Builder setVertexAttributeInstanceRateDivisor(boolean vertexAttributeInstanceRateDivisor) Initializes the value for thevertexAttributeInstanceRateDivisorattribute.If not set, this attribute will have a default value as returned by the initializer of
vertexAttributeInstanceRateDivisor.- Parameters:
vertexAttributeInstanceRateDivisor- The value for vertexAttributeInstanceRateDivisor- Returns:
thisbuilder for use in a chained invocation
-
setVertexAttributeInstanceRateZeroDivisor
public final VulkanPhysicalDeviceFeatures14.Builder setVertexAttributeInstanceRateZeroDivisor(boolean vertexAttributeInstanceRateZeroDivisor) Initializes the value for thevertexAttributeInstanceRateZeroDivisorattribute.If not set, this attribute will have a default value as returned by the initializer of
vertexAttributeInstanceRateZeroDivisor.- Parameters:
vertexAttributeInstanceRateZeroDivisor- The value for vertexAttributeInstanceRateZeroDivisor- Returns:
thisbuilder for use in a chained invocation
-
setIndexTypeUint8
Initializes the value for theindexTypeUint8attribute.If not set, this attribute will have a default value as returned by the initializer of
indexTypeUint8.- Parameters:
indexTypeUint8- The value for indexTypeUint8- Returns:
thisbuilder for use in a chained invocation
-
setDynamicRenderingLocalRead
public final VulkanPhysicalDeviceFeatures14.Builder setDynamicRenderingLocalRead(boolean dynamicRenderingLocalRead) Initializes the value for thedynamicRenderingLocalReadattribute.If not set, this attribute will have a default value as returned by the initializer of
dynamicRenderingLocalRead.- Parameters:
dynamicRenderingLocalRead- The value for dynamicRenderingLocalRead- Returns:
thisbuilder for use in a chained invocation
-
setMaintenance5
Initializes the value for themaintenance5attribute.If not set, this attribute will have a default value as returned by the initializer of
maintenance5.- Parameters:
maintenance5- The value for maintenance5- Returns:
thisbuilder for use in a chained invocation
-
setMaintenance6
Initializes the value for themaintenance6attribute.If not set, this attribute will have a default value as returned by the initializer of
maintenance6.- Parameters:
maintenance6- The value for maintenance6- Returns:
thisbuilder for use in a chained invocation
-
setPipelineRobustness
public final VulkanPhysicalDeviceFeatures14.Builder setPipelineRobustness(boolean pipelineRobustness) Initializes the value for thepipelineRobustnessattribute.If not set, this attribute will have a default value as returned by the initializer of
pipelineRobustness.- Parameters:
pipelineRobustness- The value for pipelineRobustness- Returns:
thisbuilder for use in a chained invocation
-
setHostImageCopy
Initializes the value for thehostImageCopyattribute.If not set, this attribute will have a default value as returned by the initializer of
hostImageCopy.- Parameters:
hostImageCopy- The value for hostImageCopy- Returns:
thisbuilder for use in a chained invocation
-
setPushDescriptor
Initializes the value for thepushDescriptorattribute.If not set, this attribute will have a default value as returned by the initializer of
pushDescriptor.- Parameters:
pushDescriptor- The value for pushDescriptor- Returns:
thisbuilder for use in a chained invocation
-
build
Builds a newVulkanPhysicalDeviceFeatures14.- Returns:
- An immutable instance of VulkanPhysicalDeviceFeatures14
- Throws:
IllegalStateException- if any required attributes are missing
-