Package net.minecraft.client.gl
Record Class PostEffectPass.TextureSampler
java.lang.Object
java.lang.Record
net.minecraft.client.gl.PostEffectPass.TextureSampler
- Record Components:
samplerName
-texture
-width
-height
-
- All Implemented Interfaces:
PostEffectPass.Sampler
- Enclosing class:
PostEffectPass
@Environment(CLIENT)
public static record PostEffectPass.TextureSampler(String samplerName, AbstractTexture texture, int width, int height)
extends Record
implements PostEffectPass.Sampler
- Mappings:
Namespace Name named net/minecraft/client/gl/PostEffectPass$TextureSampler
intermediary net/minecraft/class_283$class_9973
official glq$c
named samplerName
intermediary comp_3038
official a
named texture
intermediary comp_3039
official b
named width
intermediary comp_3040
official c
named height
intermediary comp_3041
official d
-
Field Summary
Modifier and TypeFieldDescriptionprivate final int
The field for theheight
record component.private final String
The field for thesamplerName
record component.private final AbstractTexture
The field for thetexture
record component.private final int
The field for thewidth
record component. -
Constructor Summary
ConstructorDescriptionTextureSampler
(String string, AbstractTexture abstractTexture, int int2, int int3) -
Method Summary
Modifier and TypeMethodDescriptionvoid
bind
(ShaderProgram program, Map<Identifier, Handle<Framebuffer>> internalTargets) final boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.int
height()
Returns the value of theheight
record component.void
preRender
(RenderPass pass, Map<Identifier, Handle<Framebuffer>> internalTargets) Returns the value of thesamplerName
record component.texture()
Returns the value of thetexture
record component.final String
toString()
Returns a string representation of this record class.int
width()
Returns the value of thewidth
record component.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface net.minecraft.client.gl.PostEffectPass.Sampler
postRender
-
Field Details
-
samplerName
The field for thesamplerName
record component. -
texture
The field for thetexture
record component. -
width
private final int widthThe field for thewidth
record component. -
height
private final int heightThe field for theheight
record component.
-
-
Constructor Details
-
TextureSampler
-
-
Method Details
-
preRender
- Specified by:
preRender
in interfacePostEffectPass.Sampler
- Mappings:
Namespace Name Mixin selector named preRender
Lnet/minecraft/client/gl/PostEffectPass$Sampler;preRender(Lnet/minecraft/client/render/RenderPass;Ljava/util/Map;)V
intermediary method_62259
Lnet/minecraft/class_283$class_9971;method_62259(Lnet/minecraft/class_9916;Ljava/util/Map;)V
official a
Lglq$a;a(Lfew;Ljava/util/Map;)V
-
bind
- Specified by:
bind
in interfacePostEffectPass.Sampler
- Mappings:
Namespace Name Mixin selector named bind
Lnet/minecraft/client/gl/PostEffectPass$Sampler;bind(Lnet/minecraft/client/gl/ShaderProgram;Ljava/util/Map;)V
intermediary method_62260
Lnet/minecraft/class_283$class_9971;method_62260(Lnet/minecraft/class_5944;Ljava/util/Map;)V
official a
Lglq$a;a(Lgkt;Ljava/util/Map;)V
-
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. Reference components are compared withObjects::equals(Object,Object)
; primitive components are compared with '=='. -
samplerName
Returns the value of thesamplerName
record component.- Returns:
- the value of the
samplerName
record component
-
texture
Returns the value of thetexture
record component.- Returns:
- the value of the
texture
record component
-
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
-