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 - gmf$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 SummaryFieldsModifier and TypeFieldDescriptionprivate final intThe field for theheightrecord component.private final StringThe field for thesamplerNamerecord component.private final AbstractTextureThe field for thetexturerecord component.private final intThe field for thewidthrecord component.
- 
Constructor SummaryConstructorsConstructorDescriptionTextureSampler(String string, AbstractTexture abstractTexture, int int2, int int3) 
- 
Method SummaryModifier and TypeMethodDescriptionvoidbind(ShaderProgram program, Map<Identifier, Handle<Framebuffer>> internalTargets) final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.intheight()Returns the value of theheightrecord component.voidpreRender(RenderPass pass, Map<Identifier, Handle<Framebuffer>> internalTargets) Returns the value of thesamplerNamerecord component.texture()Returns the value of thetexturerecord component.final StringtoString()Returns a string representation of this record class.intwidth()Returns the value of thewidthrecord component.Methods inherited from class java.lang.Objectclone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface net.minecraft.client.gl.PostEffectPass.SamplerpostRender
- 
Field Details- 
samplerNameThe field for thesamplerNamerecord component.
- 
textureThe field for thetexturerecord component.
- 
widthprivate final int widthThe field for thewidthrecord component.
- 
heightprivate final int heightThe field for theheightrecord component.
 
- 
- 
Constructor Details- 
TextureSampler
 
- 
- 
Method Details- 
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
 
- 
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
 
- 
textureReturns the value of thetexturerecord component.- Returns:
- the value of the texturerecord component
 
- 
widthpublic int width()Returns the value of thewidthrecord component.- Returns:
- the value of the widthrecord component
 
- 
heightpublic int height()Returns the value of theheightrecord component.- Returns:
- the value of the heightrecord component
 
 
-