Record Class WgpuBindings.BindGroupLayoutEntry
java.lang.Object
java.lang.Record
dev.engine.graphics.webgpu.WgpuBindings.BindGroupLayoutEntry
- Enclosing interface:
WgpuBindings
public static record WgpuBindings.BindGroupLayoutEntry(int binding, int visibility, WgpuBindings.BindingType type)
extends Record
Describes a bind group layout entry.
-
Constructor Summary
ConstructorsConstructorDescriptionBindGroupLayoutEntry(int binding, int visibility, WgpuBindings.BindingType type) Creates an instance of aBindGroupLayoutEntryrecord class. -
Method Summary
Modifier and TypeMethodDescriptionintbinding()Returns the value of thebindingrecord 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.type()Returns the value of thetyperecord component.intReturns the value of thevisibilityrecord component.
-
Constructor Details
-
BindGroupLayoutEntry
Creates an instance of aBindGroupLayoutEntryrecord class.- Parameters:
binding- the value for thebindingrecord componentvisibility- the value for thevisibilityrecord componenttype- the value for thetyperecord 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. -
binding
public int binding()Returns the value of thebindingrecord component.- Returns:
- the value of the
bindingrecord component
-
visibility
public int visibility()Returns the value of thevisibilityrecord component.- Returns:
- the value of the
visibilityrecord component
-
type
Returns the value of thetyperecord component.- Returns:
- the value of the
typerecord component
-