Class VulkanDebugUtilsObjectNameInfoEXT.Builder
java.lang.Object
com.io7m.jcoronado.extensions.ext_debug_utils.api.VulkanDebugUtilsObjectNameInfoEXT.Builder
- Enclosing class:
VulkanDebugUtilsObjectNameInfoEXT
Builds instances of type
VulkanDebugUtilsObjectNameInfoEXT.
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 newVulkanDebugUtilsObjectNameInfoEXT.from(VulkanDebugUtilsObjectNameInfoEXTType instance) Fill a builder with attribute values from the providedVulkanDebugUtilsObjectNameInfoEXTTypeinstance.setObjectHandle(VulkanHandleType objectHandle) Initializes the value for theobjectHandleattribute.setObjectName(String objectName) Initializes the value for theobjectNameattribute.
-
Method Details
-
from
public final VulkanDebugUtilsObjectNameInfoEXT.Builder from(VulkanDebugUtilsObjectNameInfoEXTType instance) Fill a builder with attribute values from the providedVulkanDebugUtilsObjectNameInfoEXTTypeinstance. 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
-
setObjectHandle
public final VulkanDebugUtilsObjectNameInfoEXT.Builder setObjectHandle(VulkanHandleType objectHandle) Initializes the value for theobjectHandleattribute.- Parameters:
objectHandle- The value for objectHandle- Returns:
thisbuilder for use in a chained invocation
-
setObjectName
Initializes the value for theobjectNameattribute.- Parameters:
objectName- The value for objectName- Returns:
thisbuilder for use in a chained invocation
-
build
Builds a newVulkanDebugUtilsObjectNameInfoEXT.- Returns:
- An immutable instance of VulkanDebugUtilsObjectNameInfoEXT
- Throws:
IllegalStateException- if any required attributes are missing
-