Package net.minecraft.client.gl
Record Class PostEffectPass.TargetSampler
java.lang.Object
java.lang.Record
net.minecraft.client.gl.PostEffectPass.TargetSampler
- Record Components:
samplerName
-targetId
-depthBuffer
-bilinear
-
- All Implemented Interfaces:
PostEffectPass.Sampler
- Enclosing class:
PostEffectPass
@Environment(CLIENT)
public static record PostEffectPass.TargetSampler(String samplerName, Identifier targetId, boolean depthBuffer, boolean bilinear)
extends Record
implements PostEffectPass.Sampler
- Mappings:
Namespace Name named net/minecraft/client/gl/PostEffectPass$TargetSampler
intermediary net/minecraft/class_283$class_9972
official glq$b
named samplerName
intermediary comp_3034
official a
named targetId
intermediary comp_3035
official b
named depthBuffer
intermediary comp_3036
official c
named bilinear
intermediary comp_3037
official d
-
Field Summary
Modifier and TypeFieldDescriptionprivate final boolean
The field for thebilinear
record component.private final boolean
The field for thedepthBuffer
record component.private final String
The field for thesamplerName
record component.private final Identifier
The field for thetargetId
record component. -
Constructor Summary
ConstructorDescriptionTargetSampler
(String string, Identifier identifier, boolean bool, boolean bool2) -
Method Summary
Modifier and TypeMethodDescriptionboolean
bilinear()
Returns the value of thebilinear
record component.void
bind
(ShaderProgram program, Map<Identifier, Handle<Framebuffer>> internalTargets) boolean
Returns the value of thedepthBuffer
record component.final boolean
Indicates whether some other object is "equal to" this one.private Handle
<Framebuffer> getTarget
(Map<Identifier, Handle<Framebuffer>> internalTargets) final int
hashCode()
Returns a hash code value for this object.void
postRender
(Map<Identifier, Handle<Framebuffer>> internalTargets) void
preRender
(RenderPass pass, Map<Identifier, Handle<Framebuffer>> internalTargets) Returns the value of thesamplerName
record component.targetId()
Returns the value of thetargetId
record component.final String
toString()
Returns a string representation of this record class.
-
Field Details
-
samplerName
The field for thesamplerName
record component. -
targetId
The field for thetargetId
record component. -
depthBuffer
private final boolean depthBufferThe field for thedepthBuffer
record component. -
bilinear
private final boolean bilinearThe field for thebilinear
record component.
-
-
Constructor Details
-
TargetSampler
-
-
Method Details
-
getTarget
- Mappings:
Namespace Name Mixin selector named getTarget
Lnet/minecraft/client/gl/PostEffectPass$TargetSampler;getTarget(Ljava/util/Map;)Lnet/minecraft/client/util/Handle;
intermediary method_62262
Lnet/minecraft/class_283$class_9972;method_62262(Ljava/util/Map;)Lnet/minecraft/class_9925;
official b
Lglq$b;b(Ljava/util/Map;)Lfgd;
-
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
-
postRender
- Specified by:
postRender
in interfacePostEffectPass.Sampler
- Mappings:
Namespace Name Mixin selector named postRender
Lnet/minecraft/client/gl/PostEffectPass$Sampler;postRender(Ljava/util/Map;)V
intermediary method_62261
Lnet/minecraft/class_283$class_9971;method_62261(Ljava/util/Map;)V
official a
Lglq$a;a(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
-
targetId
Returns the value of thetargetId
record component.- Returns:
- the value of the
targetId
record component
-
depthBuffer
public boolean depthBuffer()Returns the value of thedepthBuffer
record component.- Returns:
- the value of the
depthBuffer
record component
-
bilinear
public boolean bilinear()Returns the value of thebilinear
record component.- Returns:
- the value of the
bilinear
record component
-