java.lang.Object
java.lang.Record
tech.icey.vk4j.datatype.VkImageSubresource
- All Implemented Interfaces:
tech.icey.panama.IPointer
public record VkImageSubresource(MemorySegment segment)
extends Record
implements tech.icey.panama.IPointer
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final MemoryLayoutstatic final ValueLayout.OfIntstatic final ValueLayout.OfIntstatic final ValueLayout.OfIntstatic final longstatic final longstatic final longstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final longstatic final longstatic final longstatic final long -
Constructor Summary
ConstructorsConstructorDescriptionVkImageSubresource(MemorySegment segment) Creates an instance of aVkImageSubresourcerecord class. -
Method Summary
Modifier and TypeMethodDescriptionstatic VkImageSubresourcestatic VkImageSubresource[]intvoidarrayLayer(int value) intvoidaspectMask(int value) static VkImageSubresourceclone(Arena arena, VkImageSubresource src) static VkImageSubresource[]clone(Arena arena, VkImageSubresource[] src) final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.intmipLevel()voidmipLevel(int value) segment()Returns the value of thesegmentrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
LAYOUT
-
SIZE
public static final long SIZE -
PATH$aspectMask
-
PATH$mipLevel
-
PATH$arrayLayer
-
LAYOUT$aspectMask
-
LAYOUT$mipLevel
-
LAYOUT$arrayLayer
-
OFFSET$aspectMask
public static final long OFFSET$aspectMask -
OFFSET$mipLevel
public static final long OFFSET$mipLevel -
OFFSET$arrayLayer
public static final long OFFSET$arrayLayer -
SIZE$aspectMask
public static final long SIZE$aspectMask -
SIZE$mipLevel
public static final long SIZE$mipLevel -
SIZE$arrayLayer
public static final long SIZE$arrayLayer
-
-
Constructor Details
-
VkImageSubresource
Creates an instance of aVkImageSubresourcerecord class.- Parameters:
segment- the value for thesegmentrecord component
-
-
Method Details
-
aspectMask
public int aspectMask() -
aspectMask
public void aspectMask(int value) -
mipLevel
public int mipLevel() -
mipLevel
public void mipLevel(int value) -
arrayLayer
public int arrayLayer() -
arrayLayer
public void arrayLayer(int value) -
allocate
-
allocate
-
clone
-
clone
-
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.- Specified by:
segmentin interfacetech.icey.panama.IPointer- Returns:
- the value of the
segmentrecord component
-