Package net.minecraft.client.gl
Record Class SimpleFramebufferFactory
java.lang.Object
java.lang.Record
net.minecraft.client.gl.SimpleFramebufferFactory
- Record Components:
width
-height
-useDepth
-clearColor
-
- All Implemented Interfaces:
ClosableFactory<Framebuffer>
@Environment(CLIENT)
public record SimpleFramebufferFactory(int width, int height, boolean useDepth, int clearColor)
extends Record
implements ClosableFactory<Framebuffer>
- Mappings:
Namespace Name named net/minecraft/client/gl/SimpleFramebufferFactory
intermediary net/minecraft/class_9923
official fkp
named width
intermediary comp_2978
official a
named height
intermediary comp_2979
official b
named useDepth
intermediary comp_2980
official c
named clearColor
intermediary comp_3499
official d
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final int
The field for theclearColor
record component.private final int
The field for theheight
record component.private final boolean
The field for theuseDepth
record component.private final int
The field for thewidth
record component. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
Returns the value of theclearColor
record component.void
close
(Framebuffer framebuffer) create()
final boolean
Indicates whether some other object is "equal to" this one.boolean
equals
(ClosableFactory<?> factory) final int
hashCode()
Returns a hash code value for this object.int
height()
Returns the value of theheight
record component.void
prepare
(Framebuffer framebuffer) final String
toString()
Returns a string representation of this record class.boolean
useDepth()
Returns the value of theuseDepth
record component.int
width()
Returns the value of thewidth
record component.
-
Field Details
-
width
private final int widthThe field for thewidth
record component. -
height
private final int heightThe field for theheight
record component. -
useDepth
private final boolean useDepthThe field for theuseDepth
record component. -
clearColor
private final int clearColorThe field for theclearColor
record component.
-
-
Constructor Details
-
Method Details
-
create
- Specified by:
create
in interfaceClosableFactory<Framebuffer>
- Mappings:
Namespace Name Mixin selector named create
Lnet/minecraft/client/gl/SimpleFramebufferFactory;create()Lnet/minecraft/client/gl/Framebuffer;
intermediary method_61952
Lnet/minecraft/class_9923;method_61952()Lnet/minecraft/class_276;
official a
Lfkp;a()Lfjr;
-
prepare
- Specified by:
prepare
in interfaceClosableFactory<Framebuffer>
- Mappings:
Namespace Name Mixin selector named prepare
Lnet/minecraft/client/gl/SimpleFramebufferFactory;prepare(Lnet/minecraft/client/gl/Framebuffer;)V
intermediary method_66518
Lnet/minecraft/class_9923;method_66518(Lnet/minecraft/class_276;)V
official a
Lfkp;a(Lfjr;)V
-
close
- Specified by:
close
in interfaceClosableFactory<Framebuffer>
- Mappings:
Namespace Name Mixin selector named close
Lnet/minecraft/client/gl/SimpleFramebufferFactory;close(Lnet/minecraft/client/gl/Framebuffer;)V
intermediary method_61953
Lnet/minecraft/class_9923;method_61953(Lnet/minecraft/class_276;)V
official b
Lfkp;b(Lfjr;)V
-
equals
- Specified by:
equals
in interfaceClosableFactory<Framebuffer>
- Mappings:
Namespace Name Mixin selector named equals
Lnet/minecraft/client/util/ClosableFactory;equals(Lnet/minecraft/client/util/ClosableFactory;)Z
intermediary method_66519
Lnet/minecraft/class_9924;method_66519(Lnet/minecraft/class_9924;)Z
official a
Lfkq;a(Lfkq;)Z
-
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 '=='. -
width
public int width()Returns the value of thewidth
record component.- Returns:
- the value of the
width
record component
-
height
public int height()Returns the value of theheight
record component.- Returns:
- the value of the
height
record component
-
useDepth
public boolean useDepth()Returns the value of theuseDepth
record component.- Returns:
- the value of the
useDepth
record component
-
clearColor
public int clearColor()Returns the value of theclearColor
record component.- Returns:
- the value of the
clearColor
record component
-