Record Class BindGroupLayout
java.lang.Object
java.lang.Record
com.mojang.renderpearl.api.pipeline.BindGroupLayout
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic final record -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final List<BindGroupLayout.UniformDescription> The field for theuniformsrecord component. -
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of aBindGroupLayoutrecord class. -
Method Summary
Modifier and TypeMethodDescriptionstatic BindGroupLayout.Builderbuilder()static voidensureCompatible(List<BindGroupLayout> bindGroupLayouts) final booleanIndicates whether some other object is "equal to" this one.flattenUniforms(List<BindGroupLayout> bindGroupLayouts) final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.uniforms()Returns the value of theuniformsrecord component.
-
Field Details
-
uniforms
The field for theuniformsrecord component.
-
-
Constructor Details
-
BindGroupLayout
Creates an instance of aBindGroupLayoutrecord class.- Parameters:
uniforms- the value for theuniformsrecord component
-
-
Method Details
-
builder
-
flattenUniforms
public static List<BindGroupLayout.UniformDescription> flattenUniforms(List<BindGroupLayout> bindGroupLayouts) -
ensureCompatible
-
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 withObjects::equals(Object,Object). -
uniforms
Returns the value of theuniformsrecord component.- Returns:
- the value of the
uniformsrecord component
-