java.lang.Object
java.lang.Record
tech.icey.vk4j.handle.VkSamplerYcbcrConversion.Buffer
- Enclosing class:
VkSamplerYcbcrConversion
-
Constructor Summary
Constructors -
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.offset(long offset) read()read(long index) readAll()readRaw()readRaw(long index) reinterpret(long newSize) segment()Returns the value of thesegmentrecord component.longsize()final StringtoString()Returns a string representation of this record class.voidwrite(long index, VkSamplerYcbcrConversion value) voidwrite(VkSamplerYcbcrConversion value) voidwriteRaw(long index, MemorySegment value) voidwriteRaw(MemorySegment value)
-
Constructor Details
-
Buffer
Creates an instance of aBufferrecord class.- Parameters:
segment- the value for thesegmentrecord component
-
-
Method Details
-
size
public long size() -
read
-
read
-
readRaw
-
readRaw
-
readAll
-
write
-
write
-
writeRaw
-
writeRaw
-
offset
-
reinterpret
-
allocate
-
allocate
-
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 withObjects::equals(Object,Object). -
segment
Returns the value of thesegmentrecord component.- Returns:
- the value of the
segmentrecord component
-