Record Class BackendRenderPipeline.CreateInfo.AttribBinding
java.lang.Object
java.lang.Record
com.mojang.renderpearl.backend.api.BackendRenderPipeline.CreateInfo.AttribBinding
- Enclosing class:
BackendRenderPipeline.CreateInfo
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final intThe field for thebufferSlotrecord component.private final GpuFormatThe field for theformatrecord component.private final intThe field for thelocationrecord component.private final intThe field for theoffsetrecord component. -
Constructor Summary
ConstructorsConstructorDescriptionAttribBinding(int bufferSlot, int location, int offset, GpuFormat format) Creates an instance of aAttribBindingrecord class. -
Method Summary
Modifier and TypeMethodDescriptionintReturns the value of thebufferSlotrecord component.final booleanIndicates whether some other object is "equal to" this one.format()Returns the value of theformatrecord component.final inthashCode()Returns a hash code value for this object.intlocation()Returns the value of thelocationrecord component.intoffset()Returns the value of theoffsetrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
bufferSlot
private final int bufferSlotThe field for thebufferSlotrecord component. -
location
private final int locationThe field for thelocationrecord component. -
offset
private final int offsetThe field for theoffsetrecord component. -
format
The field for theformatrecord component.
-
-
Constructor Details
-
AttribBinding
Creates an instance of aAttribBindingrecord class.- Parameters:
bufferSlot- the value for thebufferSlotrecord componentlocation- the value for thelocationrecord componentoffset- the value for theoffsetrecord componentformat- the value for theformatrecord component
-
-
Method Details
-
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. -
bufferSlot
public int bufferSlot()Returns the value of thebufferSlotrecord component.- Returns:
- the value of the
bufferSlotrecord component
-
location
public int location()Returns the value of thelocationrecord component.- Returns:
- the value of the
locationrecord component
-
offset
public int offset()Returns the value of theoffsetrecord component.- Returns:
- the value of the
offsetrecord component
-
format
Returns the value of theformatrecord component.- Returns:
- the value of the
formatrecord component
-