Package com.mojang.blaze3d.opengl
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 com.mojang.blaze3d.opengl.Uniform
Uniform.Sampler, Uniform.Ubo, Uniform.Utb
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final int
The field for theblockBinding
record component. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
Returns the value of theblockBinding
record component.final boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.final String
toString()
Returns a string representation of this record class.
-
Field Details
-
blockBinding
private final int blockBindingThe field for theblockBinding
record component.
-
-
Constructor Details
-
Ubo
public Ubo(int blockBinding) Creates an instance of aUbo
record class.- Parameters:
blockBinding
- the value for theblockBinding
record component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
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 '=='. -
blockBinding
public int blockBinding()Returns the value of theblockBinding
record component.- Returns:
- the value of the
blockBinding
record component
-