Record Class GlslCompiler.CompiledModules
java.lang.Object
java.lang.Record
com.mojang.blaze3d.vulkan.glsl.GlslCompiler.CompiledModules
- Enclosing class:
GlslCompiler
public static record GlslCompiler.CompiledModules(long vertex, long fragment, VulkanBindGroupLayout layout)
extends Record
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final longThe field for thefragmentrecord component.private final VulkanBindGroupLayoutThe field for thelayoutrecord component.private final longThe field for thevertexrecord component. -
Constructor Summary
ConstructorsConstructorDescriptionCompiledModules(long vertex, long fragment, VulkanBindGroupLayout layout) Creates an instance of aCompiledModulesrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.longfragment()Returns the value of thefragmentrecord component.final inthashCode()Returns a hash code value for this object.layout()Returns the value of thelayoutrecord component.final StringtoString()Returns a string representation of this record class.longvertex()Returns the value of thevertexrecord component.
-
Field Details
-
vertex
private final long vertexThe field for thevertexrecord component. -
fragment
private final long fragmentThe field for thefragmentrecord component. -
layout
The field for thelayoutrecord component.
-
-
Constructor Details
-
CompiledModules
Creates an instance of aCompiledModulesrecord class.- Parameters:
vertex- the value for thevertexrecord componentfragment- the value for thefragmentrecord componentlayout- the value for thelayoutrecord 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. -
vertex
public long vertex()Returns the value of thevertexrecord component.- Returns:
- the value of the
vertexrecord component
-
fragment
public long fragment()Returns the value of thefragmentrecord component.- Returns:
- the value of the
fragmentrecord component
-
layout
Returns the value of thelayoutrecord component.- Returns:
- the value of the
layoutrecord component
-