Record Class VkBindings.BufferAlloc
java.lang.Object
java.lang.Record
dev.engine.graphics.vulkan.VkBindings.BufferAlloc
- Enclosing interface:
VkBindings
-
Constructor Summary
ConstructorsConstructorDescriptionBufferAlloc(long buffer, long memory, long size) Creates an instance of aBufferAllocrecord class. -
Method Summary
Modifier and TypeMethodDescriptionlongbuffer()Returns the value of thebufferrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.longmemory()Returns the value of thememoryrecord component.longsize()Returns the value of thesizerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
BufferAlloc
public BufferAlloc(long buffer, long memory, long size) Creates an instance of aBufferAllocrecord class.- Parameters:
buffer- the value for thebufferrecord componentmemory- the value for thememoryrecord componentsize- the value for thesizerecord 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. -
buffer
public long buffer()Returns the value of thebufferrecord component.- Returns:
- the value of the
bufferrecord component
-
memory
public long memory()Returns the value of thememoryrecord component.- Returns:
- the value of the
memoryrecord component
-
size
public long size()Returns the value of thesizerecord component.- Returns:
- the value of the
sizerecord component
-