Class VulkanEventCreateInfo
java.lang.Object
com.io7m.jcoronado.api.VulkanEventCreateInfo
- All Implemented Interfaces:
VulkanEventCreateInfoType
The type of Vulkan event creation information.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classBuilds instances of typeVulkanEventCreateInfo. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Creates a builder forVulkanEventCreateInfo.static VulkanEventCreateInfocopyOf(VulkanEventCreateInfoType instance) Creates an immutable copy of aVulkanEventCreateInfoTypevalue.booleanThis instance is equal to all instances ofVulkanEventCreateInfothat have equal attribute values.flags()inthashCode()Computes a hash code from attributes:flags.static VulkanEventCreateInfoof(Iterable<VulkanEventCreateFlag> flags) Construct a new immutableVulkanEventCreateInfoinstance.static VulkanEventCreateInfoof(Set<VulkanEventCreateFlag> flags) Construct a new immutableVulkanEventCreateInfoinstance.toString()Prints the immutable valueVulkanEventCreateInfowith attribute values.final VulkanEventCreateInfowithFlags(VulkanEventCreateFlag... elements) Copy the current immutable object with elements that replace the content offlags.final VulkanEventCreateInfowithFlags(Iterable<VulkanEventCreateFlag> elements) Copy the current immutable object with elements that replace the content offlags.
-
Method Details
-
flags
- Specified by:
flagsin interfaceVulkanEventCreateInfoType- Returns:
- The event 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 of
thisobject
-
equals
-
hashCode
-
toString
-
of
Construct a new immutableVulkanEventCreateInfoinstance.- Parameters:
flags- The value for theflagsattribute- Returns:
- An immutable VulkanEventCreateInfo instance
-
of
Construct a new immutableVulkanEventCreateInfoinstance.- Parameters:
flags- The value for theflagsattribute- Returns:
- An immutable VulkanEventCreateInfo instance
-
copyOf
Creates an immutable copy of aVulkanEventCreateInfoTypevalue. 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 VulkanEventCreateInfo instance
-
builder
Creates a builder forVulkanEventCreateInfo.VulkanEventCreateInfo.builder() .addFlags|addAllFlags(com.io7m.jcoronado.api.VulkanEventCreateFlag) //flagselements .build();- Returns:
- A new VulkanEventCreateInfo builder
-