Record Class VkBindings.ImageNoView
java.lang.Object
java.lang.Record
dev.engine.graphics.vulkan.VkBindings.ImageNoView
- Enclosing interface:
VkBindings
Creates an image without a view (used for depth buffers, etc.).
-
Constructor Summary
ConstructorsConstructorDescriptionImageNoView(long image, long memory) Creates an instance of aImageNoViewrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.longimage()Returns the value of theimagerecord component.longmemory()Returns the value of thememoryrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ImageNoView
public ImageNoView(long image, long memory) Creates an instance of aImageNoViewrecord class.- Parameters:
image- the value for theimagerecord componentmemory- the value for thememoryrecord component
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared with thecomparemethod from their corresponding wrapper classes. -
image
public long image()Returns the value of theimagerecord component.- Returns:
- the value of the
imagerecord component
-
memory
public long memory()Returns the value of thememoryrecord component.- Returns:
- the value of the
memoryrecord component
-