Class VulkanSemaphoreCreateInfo
java.lang.Object
com.io7m.jcoronado.api.VulkanSemaphoreCreateInfo
- All Implemented Interfaces:
VulkanSemaphoreCreateInfoType
public final class VulkanSemaphoreCreateInfo
extends Object
implements VulkanSemaphoreCreateInfoType
The type of Vulkan semaphore creation information.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classBuilds instances of typeVulkanSemaphoreCreateInfo. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Creates a builder forVulkanSemaphoreCreateInfo.static VulkanSemaphoreCreateInfocopyOf(VulkanSemaphoreCreateInfoType instance) Creates an immutable copy of aVulkanSemaphoreCreateInfoTypevalue.booleanThis instance is equal to all instances ofVulkanSemaphoreCreateInfothat have equal attribute values.flags()inthashCode()Computes a hash code from attributes:flags.static VulkanSemaphoreCreateInfoof(Iterable<VulkanSemaphoreCreateFlag> flags) Construct a new immutableVulkanSemaphoreCreateInfoinstance.static VulkanSemaphoreCreateInfoof(Set<VulkanSemaphoreCreateFlag> flags) Construct a new immutableVulkanSemaphoreCreateInfoinstance.toString()Prints the immutable valueVulkanSemaphoreCreateInfowith attribute values.withFlags(VulkanSemaphoreCreateFlag... elements) Copy the current immutable object with elements that replace the content offlags.withFlags(Iterable<VulkanSemaphoreCreateFlag> elements) Copy the current immutable object with elements that replace the content offlags.
-
Method Details
-
flags
- Specified by:
flagsin interfaceVulkanSemaphoreCreateInfoType- Returns:
- The semaphore 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 immutableVulkanSemaphoreCreateInfoinstance.- Parameters:
flags- The value for theflagsattribute- Returns:
- An immutable VulkanSemaphoreCreateInfo instance
-
of
Construct a new immutableVulkanSemaphoreCreateInfoinstance.- Parameters:
flags- The value for theflagsattribute- Returns:
- An immutable VulkanSemaphoreCreateInfo instance
-
copyOf
Creates an immutable copy of aVulkanSemaphoreCreateInfoTypevalue. 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 VulkanSemaphoreCreateInfo instance
-
builder
Creates a builder forVulkanSemaphoreCreateInfo.VulkanSemaphoreCreateInfo.builder() .addFlags|addAllFlags(com.io7m.jcoronado.api.VulkanSemaphoreCreateFlag) //flagselements .build();- Returns:
- A new VulkanSemaphoreCreateInfo builder
-