Record Class VulkanBindGroupLayout
java.lang.Object
java.lang.Record
com.mojang.blaze3d.vulkan.VulkanBindGroupLayout
public record VulkanBindGroupLayout(long handle, List<VulkanBindGroupLayout.Entry> entries)
extends Record
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final recordstatic enum -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final List<VulkanBindGroupLayout.Entry> The field for theentriesrecord component.private final longThe field for thehandlerecord component.static final VulkanBindGroupLayout -
Constructor Summary
ConstructorsConstructorDescriptionVulkanBindGroupLayout(long handle, List<VulkanBindGroupLayout.Entry> entries) Creates an instance of aVulkanBindGroupLayoutrecord class. -
Method Summary
Modifier and TypeMethodDescriptionstatic VulkanBindGroupLayoutcreate(VulkanDevice device, List<VulkanBindGroupLayout.Entry> entries, String name) entries()Returns the value of theentriesrecord component.final booleanIndicates whether some other object is "equal to" this one.longhandle()Returns the value of thehandlerecord component.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
handle
private final long handleThe field for thehandlerecord component. -
entries
The field for theentriesrecord component. -
INVALID_LAYOUT
-
-
Constructor Details
-
VulkanBindGroupLayout
Creates an instance of aVulkanBindGroupLayoutrecord class.- Parameters:
handle- the value for thehandlerecord componententries- the value for theentriesrecord component
-
-
Method Details
-
create
public static VulkanBindGroupLayout create(VulkanDevice device, List<VulkanBindGroupLayout.Entry> entries, String name) -
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
handle
public long handle()Returns the value of thehandlerecord component.- Returns:
- the value of the
handlerecord component
-
entries
Returns the value of theentriesrecord component.- Returns:
- the value of the
entriesrecord component
-