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$TargetSamplerintermediary net/minecraft/class_283$class_9972official grt$bnamed samplerNameintermediary comp_3034official anamed targetIdintermediary comp_3035official bnamed depthBufferintermediary comp_3036official cnamed bilinearintermediary comp_3037official d
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final booleanThe field for thebilinearrecord component.private final booleanThe field for thedepthBufferrecord component.private final StringThe field for thesamplerNamerecord component.private final IdentifierThe field for thetargetIdrecord component. -
Constructor Summary
ConstructorsConstructorDescriptionTargetSampler(String string, Identifier identifier, boolean bool, boolean bool2) -
Method Summary
Modifier and TypeMethodDescriptionbooleanbilinear()Returns the value of thebilinearrecord component.voidbindSampler(RenderPass pass, Map<Identifier, Handle<Framebuffer>> internalTargets) booleanReturns the value of thedepthBufferrecord component.final booleanIndicates whether some other object is "equal to" this one.private Handle<Framebuffer> getTarget(Map<Identifier, Handle<Framebuffer>> internalTargets) final inthashCode()Returns a hash code value for this object.voidpostRender(Map<Identifier, Handle<Framebuffer>> internalTargets) voidpreRender(FramePass pass, Map<Identifier, Handle<Framebuffer>> internalTargets) Returns the value of thesamplerNamerecord component.targetId()Returns the value of thetargetIdrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
samplerName
The field for thesamplerNamerecord component. -
targetId
The field for thetargetIdrecord component. -
depthBuffer
private final boolean depthBufferThe field for thedepthBufferrecord component. -
bilinear
private final boolean bilinearThe field for thebilinearrecord component.
-
-
Constructor Details
-
TargetSampler
-
-
Method Details
-
getTarget
- Mappings:
Namespace Name Mixin selector named getTargetLnet/minecraft/client/gl/PostEffectPass$TargetSampler;getTarget(Ljava/util/Map;)Lnet/minecraft/client/util/Handle;intermediary method_62262Lnet/minecraft/class_283$class_9972;method_62262(Ljava/util/Map;)Lnet/minecraft/class_9925;official bLgrt$b;b(Ljava/util/Map;)Lfkr;
-
preRender
- Specified by:
preRenderin interfacePostEffectPass.Sampler- Mappings:
Namespace Name Mixin selector named preRenderLnet/minecraft/client/gl/PostEffectPass$Sampler;preRender(Lnet/minecraft/client/render/FramePass;Ljava/util/Map;)Vintermediary method_62259Lnet/minecraft/class_283$class_9971;method_62259(Lnet/minecraft/class_9916;Ljava/util/Map;)Vofficial aLgrt$a;a(Lfiy;Ljava/util/Map;)V
-
bindSampler
- Specified by:
bindSamplerin interfacePostEffectPass.Sampler- Mappings:
Namespace Name Mixin selector named bindSamplerLnet/minecraft/client/gl/PostEffectPass$Sampler;bindSampler(Lcom/mojang/blaze3d/systems/RenderPass;Ljava/util/Map;)Vintermediary method_62260Lnet/minecraft/class_283$class_9971;method_62260(Lcom/mojang/blaze3d/systems/RenderPass;Ljava/util/Map;)Vofficial aLgrt$a;a(Lcom/mojang/blaze3d/systems/RenderPass;Ljava/util/Map;)V
-
postRender
- Specified by:
postRenderin interfacePostEffectPass.Sampler- Mappings:
Namespace Name Mixin selector named postRenderLnet/minecraft/client/gl/PostEffectPass$Sampler;postRender(Ljava/util/Map;)Vintermediary method_62261Lnet/minecraft/class_283$class_9971;method_62261(Ljava/util/Map;)Vofficial aLgrt$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 thesamplerNamerecord component.- Returns:
- the value of the
samplerNamerecord component
-
targetId
Returns the value of thetargetIdrecord component.- Returns:
- the value of the
targetIdrecord component
-
depthBuffer
public boolean depthBuffer()Returns the value of thedepthBufferrecord component.- Returns:
- the value of the
depthBufferrecord component
-
bilinear
public boolean bilinear()Returns the value of thebilinearrecord component.- Returns:
- the value of the
bilinearrecord component
-