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 - gmf$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 SummaryFieldsModifier 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 SummaryConstructorsConstructorDescriptionTargetSampler(String string, Identifier identifier, boolean bool, boolean bool2) 
- 
Method SummaryModifier and TypeMethodDescriptionbooleanbilinear()Returns the value of thebilinearrecord component.voidbind(ShaderProgram program, 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(RenderPass 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- 
samplerNameThe field for thesamplerNamerecord component.
- 
targetIdThe field for thetargetIdrecord component.
- 
depthBufferprivate final boolean depthBufferThe field for thedepthBufferrecord component.
- 
bilinearprivate final boolean bilinearThe field for thebilinearrecord 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- Lgmf$b;b(Ljava/util/Map;)Lffh;
 
- 
preRender- Specified by:
- preRenderin interface- PostEffectPass.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- Lgmf$a;a(Lfea;Ljava/util/Map;)V
 
- 
bind- Specified by:
- bindin interface- PostEffectPass.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- Lgmf$a;a(Lglj;Ljava/util/Map;)V
 
- 
postRender- Specified by:
- postRenderin interface- PostEffectPass.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- Lgmf$a;a(Ljava/util/Map;)V
 
- 
toStringReturns 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.
- 
hashCodepublic 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.
- 
equalsIndicates 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 '=='.
- 
samplerNameReturns the value of thesamplerNamerecord component.- Returns:
- the value of the samplerNamerecord component
 
- 
targetIdReturns the value of thetargetIdrecord component.- Returns:
- the value of the targetIdrecord component
 
- 
depthBufferpublic boolean depthBuffer()Returns the value of thedepthBufferrecord component.- Returns:
- the value of the depthBufferrecord component
 
- 
bilinearpublic boolean bilinear()Returns the value of thebilinearrecord component.- Returns:
- the value of the bilinearrecord component
 
 
-