java.lang.Object
java.lang.Record
tech.icey.vk4j.datatype.VkImageSubresourceLayers
- All Implemented Interfaces:
tech.icey.panama.IPointer
public record VkImageSubresourceLayers(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 ValueLayout.OfIntstatic final longstatic final longstatic final longstatic final longstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final longstatic final longstatic final longstatic final longstatic final long -
Constructor Summary
ConstructorsConstructorDescriptionVkImageSubresourceLayers(MemorySegment segment) Creates an instance of aVkImageSubresourceLayersrecord class. -
Method Summary
Modifier and TypeMethodDescriptionstatic VkImageSubresourceLayersstatic VkImageSubresourceLayers[]intvoidaspectMask(int value) intvoidbaseArrayLayer(int value) static VkImageSubresourceLayersclone(Arena arena, VkImageSubresourceLayers src) static VkImageSubresourceLayers[]clone(Arena arena, VkImageSubresourceLayers[] src) final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.intvoidlayerCount(int value) 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$baseArrayLayer
-
PATH$layerCount
-
LAYOUT$aspectMask
-
LAYOUT$mipLevel
-
LAYOUT$baseArrayLayer
-
LAYOUT$layerCount
-
OFFSET$aspectMask
public static final long OFFSET$aspectMask -
OFFSET$mipLevel
public static final long OFFSET$mipLevel -
OFFSET$baseArrayLayer
public static final long OFFSET$baseArrayLayer -
OFFSET$layerCount
public static final long OFFSET$layerCount -
SIZE$aspectMask
public static final long SIZE$aspectMask -
SIZE$mipLevel
public static final long SIZE$mipLevel -
SIZE$baseArrayLayer
public static final long SIZE$baseArrayLayer -
SIZE$layerCount
public static final long SIZE$layerCount
-
-
Constructor Details
-
VkImageSubresourceLayers
Creates an instance of aVkImageSubresourceLayersrecord 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) -
baseArrayLayer
public int baseArrayLayer() -
baseArrayLayer
public void baseArrayLayer(int value) -
layerCount
public int layerCount() -
layerCount
public void layerCount(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
-