java.lang.Object
java.lang.Record
tech.icey.vk4j.datatype.VkClearDepthStencilValue
- All Implemented Interfaces:
tech.icey.panama.IPointer
public record VkClearDepthStencilValue(MemorySegment segment)
extends Record
implements tech.icey.panama.IPointer
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final MemoryLayoutstatic final ValueLayout.OfFloatstatic final ValueLayout.OfIntstatic final longstatic final longstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final longstatic final longstatic final long -
Constructor Summary
ConstructorsConstructorDescriptionVkClearDepthStencilValue(MemorySegment segment) Creates an instance of aVkClearDepthStencilValuerecord class. -
Method Summary
Modifier and TypeMethodDescriptionstatic VkClearDepthStencilValuestatic VkClearDepthStencilValue[]static VkClearDepthStencilValueclone(Arena arena, VkClearDepthStencilValue src) static VkClearDepthStencilValue[]clone(Arena arena, VkClearDepthStencilValue[] src) floatdepth()voiddepth(float value) final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.segment()Returns the value of thesegmentrecord component.intstencil()voidstencil(int value) final StringtoString()Returns a string representation of this record class.
-
Field Details
-
LAYOUT
-
SIZE
public static final long SIZE -
PATH$depth
-
PATH$stencil
-
LAYOUT$depth
-
LAYOUT$stencil
-
OFFSET$depth
public static final long OFFSET$depth -
OFFSET$stencil
public static final long OFFSET$stencil -
SIZE$depth
public static final long SIZE$depth -
SIZE$stencil
public static final long SIZE$stencil
-
-
Constructor Details
-
VkClearDepthStencilValue
Creates an instance of aVkClearDepthStencilValuerecord class.- Parameters:
segment- the value for thesegmentrecord component
-
-
Method Details
-
depth
public float depth() -
depth
public void depth(float value) -
stencil
public int stencil() -
stencil
public void stencil(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
-