Record Class GlobalParamsRegistry.Entry
java.lang.Object
java.lang.Record
dev.engine.graphics.shader.GlobalParamsRegistry.Entry
- Enclosing class:
GlobalParamsRegistry
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintbinding()Returns the value of thebindingrecord component.data()Returns the value of thedatarecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.name()Returns the value of thenamerecord component.Class<?> Returns the value of therecordTyperecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Entry
Creates an instance of aEntryrecord class.- Parameters:
name- the value for thenamerecord componentrecordType- the value for therecordTyperecord componentbinding- the value for thebindingrecord componentdata- the value for thedatarecord 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. -
name
Returns the value of thenamerecord component.- Returns:
- the value of the
namerecord component
-
recordType
Returns the value of therecordTyperecord component.- Returns:
- the value of the
recordTyperecord component
-
binding
public int binding()Returns the value of thebindingrecord component.- Returns:
- the value of the
bindingrecord component
-
data
Returns the value of thedatarecord component.- Returns:
- the value of the
datarecord component
-