Class VulkanFenceCreateInfo
java.lang.Object
com.io7m.jcoronado.api.VulkanFenceCreateInfo
- All Implemented Interfaces:
VulkanFenceCreateInfoType
The type of Vulkan fence creation information.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classBuilds instances of typeVulkanFenceCreateInfo. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Creates a builder forVulkanFenceCreateInfo.static VulkanFenceCreateInfocopyOf(VulkanFenceCreateInfoType instance) Creates an immutable copy of aVulkanFenceCreateInfoTypevalue.booleanThis instance is equal to all instances ofVulkanFenceCreateInfothat have equal attribute values.flags()inthashCode()Computes a hash code from attributes:flags.toString()Prints the immutable valueVulkanFenceCreateInfowith attribute values.final VulkanFenceCreateInfowithFlags(VulkanFenceCreateFlag... elements) Copy the current immutable object with elements that replace the content offlags.final VulkanFenceCreateInfowithFlags(Iterable<VulkanFenceCreateFlag> elements) Copy the current immutable object with elements that replace the content offlags.
-
Method Details
-
flags
- Specified by:
flagsin interfaceVulkanFenceCreateInfoType- Returns:
- The fence creation flags
-
withFlags
Copy the current immutable object with elements that replace the content offlags.- Parameters:
elements- The elements to set- Returns:
- A modified copy of
thisobject
-
withFlags
Copy the current immutable object with elements that replace the content offlags. A shallow reference equality check is used to prevent copying of the same value by returningthis.- Parameters:
elements- An iterable of flags elements to set- Returns:
- A modified copy or
thisif not changed
-
equals
-
hashCode
-
toString
-
copyOf
Creates an immutable copy of aVulkanFenceCreateInfoTypevalue. 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 VulkanFenceCreateInfo instance
-
builder
Creates a builder forVulkanFenceCreateInfo.VulkanFenceCreateInfo.builder() .addFlags|addAllFlags(com.io7m.jcoronado.api.VulkanFenceCreateFlag) //
flagselements .build();- Returns:
- A new VulkanFenceCreateInfo builder
-