Class VulkanPhysicalDeviceFeatures13.Builder
- Enclosing class:
VulkanPhysicalDeviceFeatures13
VulkanPhysicalDeviceFeatures13.
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 newVulkanPhysicalDeviceFeatures13.from(VulkanPhysicalDeviceFeatures13Type instance) Fill a builder with attribute values from the providedVulkanPhysicalDeviceFeatures13Typeinstance.setComputeFullSubgroups(boolean computeFullSubgroups) Initializes the value for thecomputeFullSubgroupsattribute.setDescriptorBindingInlineUniformBlockUpdateAfterBind(boolean descriptorBindingInlineUniformBlockUpdateAfterBind) Initializes the value for thedescriptorBindingInlineUniformBlockUpdateAfterBindattribute.setDynamicRendering(boolean dynamicRendering) Initializes the value for thedynamicRenderingattribute.setInlineUniformBlock(boolean inlineUniformBlock) Initializes the value for theinlineUniformBlockattribute.setMaintenance4(boolean maintenance4) Initializes the value for themaintenance4attribute.setPipelineCreationCacheControl(boolean pipelineCreationCacheControl) Initializes the value for thepipelineCreationCacheControlattribute.setPrivateData(boolean privateData) Initializes the value for theprivateDataattribute.setRobustImageAccess(boolean robustImageAccess) Initializes the value for therobustImageAccessattribute.setShaderDemoteToHelperInvocation(boolean shaderDemoteToHelperInvocation) Initializes the value for theshaderDemoteToHelperInvocationattribute.setShaderIntegerDotProduct(boolean shaderIntegerDotProduct) Initializes the value for theshaderIntegerDotProductattribute.setShaderTerminateInvocation(boolean shaderTerminateInvocation) Initializes the value for theshaderTerminateInvocationattribute.setShaderZeroInitializeWorkgroupMemory(boolean shaderZeroInitializeWorkgroupMemory) Initializes the value for theshaderZeroInitializeWorkgroupMemoryattribute.setSubgroupSizeControl(boolean subgroupSizeControl) Initializes the value for thesubgroupSizeControlattribute.setSynchronization2(boolean synchronization2) Initializes the value for thesynchronization2attribute.setTextureCompressionASTC_HDR(boolean textureCompressionASTC_HDR) Initializes the value for thetextureCompressionASTC_HDRattribute.
-
Method Details
-
from
public final VulkanPhysicalDeviceFeatures13.Builder from(VulkanPhysicalDeviceFeatures13Type instance) Fill a builder with attribute values from the providedVulkanPhysicalDeviceFeatures13Typeinstance. 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
-
setRobustImageAccess
Initializes the value for therobustImageAccessattribute.If not set, this attribute will have a default value as returned by the initializer of
robustImageAccess.- Parameters:
robustImageAccess- The value for robustImageAccess- Returns:
thisbuilder for use in a chained invocation
-
setInlineUniformBlock
public final VulkanPhysicalDeviceFeatures13.Builder setInlineUniformBlock(boolean inlineUniformBlock) Initializes the value for theinlineUniformBlockattribute.If not set, this attribute will have a default value as returned by the initializer of
inlineUniformBlock.- Parameters:
inlineUniformBlock- The value for inlineUniformBlock- Returns:
thisbuilder for use in a chained invocation
-
setDescriptorBindingInlineUniformBlockUpdateAfterBind
public final VulkanPhysicalDeviceFeatures13.Builder setDescriptorBindingInlineUniformBlockUpdateAfterBind(boolean descriptorBindingInlineUniformBlockUpdateAfterBind) Initializes the value for thedescriptorBindingInlineUniformBlockUpdateAfterBindattribute.If not set, this attribute will have a default value as returned by the initializer of
descriptorBindingInlineUniformBlockUpdateAfterBind.- Parameters:
descriptorBindingInlineUniformBlockUpdateAfterBind- The value for descriptorBindingInlineUniformBlockUpdateAfterBind- Returns:
thisbuilder for use in a chained invocation
-
setPipelineCreationCacheControl
public final VulkanPhysicalDeviceFeatures13.Builder setPipelineCreationCacheControl(boolean pipelineCreationCacheControl) Initializes the value for thepipelineCreationCacheControlattribute.If not set, this attribute will have a default value as returned by the initializer of
pipelineCreationCacheControl.- Parameters:
pipelineCreationCacheControl- The value for pipelineCreationCacheControl- Returns:
thisbuilder for use in a chained invocation
-
setPrivateData
Initializes the value for theprivateDataattribute.If not set, this attribute will have a default value as returned by the initializer of
privateData.- Parameters:
privateData- The value for privateData- Returns:
thisbuilder for use in a chained invocation
-
setShaderDemoteToHelperInvocation
public final VulkanPhysicalDeviceFeatures13.Builder setShaderDemoteToHelperInvocation(boolean shaderDemoteToHelperInvocation) Initializes the value for theshaderDemoteToHelperInvocationattribute.If not set, this attribute will have a default value as returned by the initializer of
shaderDemoteToHelperInvocation.- Parameters:
shaderDemoteToHelperInvocation- The value for shaderDemoteToHelperInvocation- Returns:
thisbuilder for use in a chained invocation
-
setShaderTerminateInvocation
public final VulkanPhysicalDeviceFeatures13.Builder setShaderTerminateInvocation(boolean shaderTerminateInvocation) Initializes the value for theshaderTerminateInvocationattribute.If not set, this attribute will have a default value as returned by the initializer of
shaderTerminateInvocation.- Parameters:
shaderTerminateInvocation- The value for shaderTerminateInvocation- Returns:
thisbuilder for use in a chained invocation
-
setSubgroupSizeControl
public final VulkanPhysicalDeviceFeatures13.Builder setSubgroupSizeControl(boolean subgroupSizeControl) Initializes the value for thesubgroupSizeControlattribute.If not set, this attribute will have a default value as returned by the initializer of
subgroupSizeControl.- Parameters:
subgroupSizeControl- The value for subgroupSizeControl- Returns:
thisbuilder for use in a chained invocation
-
setComputeFullSubgroups
public final VulkanPhysicalDeviceFeatures13.Builder setComputeFullSubgroups(boolean computeFullSubgroups) Initializes the value for thecomputeFullSubgroupsattribute.If not set, this attribute will have a default value as returned by the initializer of
computeFullSubgroups.- Parameters:
computeFullSubgroups- The value for computeFullSubgroups- Returns:
thisbuilder for use in a chained invocation
-
setSynchronization2
Initializes the value for thesynchronization2attribute.If not set, this attribute will have a default value as returned by the initializer of
synchronization2.- Parameters:
synchronization2- The value for synchronization2- Returns:
thisbuilder for use in a chained invocation
-
setTextureCompressionASTC_HDR
public final VulkanPhysicalDeviceFeatures13.Builder setTextureCompressionASTC_HDR(boolean textureCompressionASTC_HDR) Initializes the value for thetextureCompressionASTC_HDRattribute.If not set, this attribute will have a default value as returned by the initializer of
textureCompressionASTC_HDR.- Parameters:
textureCompressionASTC_HDR- The value for textureCompressionASTC_HDR- Returns:
thisbuilder for use in a chained invocation
-
setShaderZeroInitializeWorkgroupMemory
public final VulkanPhysicalDeviceFeatures13.Builder setShaderZeroInitializeWorkgroupMemory(boolean shaderZeroInitializeWorkgroupMemory) Initializes the value for theshaderZeroInitializeWorkgroupMemoryattribute.If not set, this attribute will have a default value as returned by the initializer of
shaderZeroInitializeWorkgroupMemory.- Parameters:
shaderZeroInitializeWorkgroupMemory- The value for shaderZeroInitializeWorkgroupMemory- Returns:
thisbuilder for use in a chained invocation
-
setDynamicRendering
Initializes the value for thedynamicRenderingattribute.If not set, this attribute will have a default value as returned by the initializer of
dynamicRendering.- Parameters:
dynamicRendering- The value for dynamicRendering- Returns:
thisbuilder for use in a chained invocation
-
setShaderIntegerDotProduct
public final VulkanPhysicalDeviceFeatures13.Builder setShaderIntegerDotProduct(boolean shaderIntegerDotProduct) Initializes the value for theshaderIntegerDotProductattribute.If not set, this attribute will have a default value as returned by the initializer of
shaderIntegerDotProduct.- Parameters:
shaderIntegerDotProduct- The value for shaderIntegerDotProduct- Returns:
thisbuilder for use in a chained invocation
-
setMaintenance4
Initializes the value for themaintenance4attribute.If not set, this attribute will have a default value as returned by the initializer of
maintenance4.- Parameters:
maintenance4- The value for maintenance4- Returns:
thisbuilder for use in a chained invocation
-
build
Builds a newVulkanPhysicalDeviceFeatures13.- Returns:
- An immutable instance of VulkanPhysicalDeviceFeatures13
- Throws:
IllegalStateException- if any required attributes are missing
-