Record Class Uniform.Ubo
java.lang.Object
java.lang.Record
com.mojang.blaze3d.opengl.Uniform.Ubo
- All Implemented Interfaces:
Uniform, AutoCloseable
- Enclosing interface:
Uniform
-
Nested Class Summary
Nested classes/interfaces inherited from interface Uniform
Uniform.Sampler, Uniform.Ubo, Uniform.Utb -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final intThe field for theblockBindingrecord component. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintReturns the value of theblockBindingrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
blockBinding
private final int blockBindingThe field for theblockBindingrecord component.
-
-
Constructor Details
-
Ubo
public Ubo(int blockBinding) Creates an instance of aUborecord class.- Parameters:
blockBinding- the value for theblockBindingrecord 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. All components in this record class are compared with thecomparemethod from their corresponding wrapper classes. -
blockBinding
public int blockBinding()Returns the value of theblockBindingrecord component.- Returns:
- the value of the
blockBindingrecord component
-