Package net.minecraft.client.gl
Class GlResourceManager
java.lang.Object
net.minecraft.client.gl.GlResourceManager
- All Implemented Interfaces:
CommandEncoder
- Mappings:
Namespace Name named net/minecraft/client/gl/GlResourceManagerintermediary net/minecraft/class_10860official fjd
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final GlBackendprivate @Nullable ShaderProgramprivate @Nullable RenderPipelineprivate static final Loggerprivate booleanprivate final intprivate final int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclearColorAndDepthTextures(GpuTexture gpuTexture, int int2, GpuTexture gpuTexture2, double double2) voidclearColorTexture(GpuTexture gpuTexture, int int2) voidclearDepthTexture(GpuTexture gpuTexture, double double2) voidvoidcopyTextureToBuffer(GpuTexture gpuTexture, GpuBuffer gpuBuffer, int int2, Runnable runnable, int int3) voidcopyTextureToBuffer(GpuTexture gpuTexture, GpuBuffer gpuBuffer, int int2, Runnable runnable, int int3, int int4, int int5, int int6, int int7) voidcopyTextureToTexture(GpuTexture gpuTexture, GpuTexture gpuTexture2, int int2, int int3, int int4, int int5, int int6, int int7, int int8) createRenderPass(GpuTexture gpuTexture, OptionalInt optionalInt) createRenderPass(GpuTexture gpuTexture, OptionalInt optionalInt, @Nullable GpuTexture gpuTexture2, OptionalDouble optionalDouble) protected GlBackendprotected voidmethod_68352(RenderPassImpl renderPassImpl, int int2, int int3, VertexFormat.class_5595 class_5595) private voidmethod_68353(RenderPassImpl renderPassImpl, int int2, int int3, VertexFormat.class_5595 class_5595, CompiledShaderPipeline compiledShaderPipeline) protected voidmethod_68355(RenderPassImpl renderPassImpl, Collection<RenderPass.class_10884> collection, @Nullable GpuBuffer gpuBuffer, VertexFormat.class_5595 class_5595) private voidmethod_68356(RenderPipeline renderPipeline) voidpresentTexture(GpuTexture gpuTexture) readBuffer(GpuBuffer gpuBuffer) readBuffer(GpuBuffer gpuBuffer, int int2, int int3) private booleanvoidwriteToBuffer(GpuBuffer gpuBuffer, ByteBuffer byteBuffer, int int2) voidwriteToTexture(GpuTexture gpuTexture, IntBuffer intBuffer, NativeImage.Format format, int int2, int int3, int int4, int int5, int int6) voidwriteToTexture(GpuTexture gpuTexture, NativeImage nativeImage) voidwriteToTexture(GpuTexture gpuTexture, NativeImage nativeImage, int int2, int int3, int int4, int int5, int int6, int int7, int int8)
-
Field Details
-
LOGGER
- Mappings:
Namespace Name Mixin selector named LOGGERLnet/minecraft/client/gl/GlResourceManager;LOGGER:Lorg/slf4j/Logger;intermediary field_57843Lnet/minecraft/class_10860;field_57843:Lorg/slf4j/Logger;official aLfjd;a:Lorg/slf4j/Logger;
-
backend
- Mappings:
Namespace Name Mixin selector named backendLnet/minecraft/client/gl/GlResourceManager;backend:Lnet/minecraft/client/gl/GlBackend;intermediary field_57844Lnet/minecraft/class_10860;field_57844:Lnet/minecraft/class_10865;official bLfjd;b:Lfjg;
-
temporaryFb1
private final int temporaryFb1- Mappings:
Namespace Name Mixin selector named temporaryFb1Lnet/minecraft/client/gl/GlResourceManager;temporaryFb1:Iintermediary field_57845Lnet/minecraft/class_10860;field_57845:Iofficial cLfjd;c:I
-
temporaryFb2
private final int temporaryFb2- Mappings:
Namespace Name Mixin selector named temporaryFb2Lnet/minecraft/client/gl/GlResourceManager;temporaryFb2:Iintermediary field_57846Lnet/minecraft/class_10860;field_57846:Iofficial dLfjd;d:I
-
field_57847
- Mappings:
Namespace Name Mixin selector named field_57847Lnet/minecraft/client/gl/GlResourceManager;field_57847:Lcom/mojang/blaze3d/pipeline/RenderPipeline;intermediary field_57847Lnet/minecraft/class_10860;field_57847:Lcom/mojang/blaze3d/pipeline/RenderPipeline;official eLfjd;e:Lcom/mojang/blaze3d/pipeline/RenderPipeline;
-
renderPassOpen
private boolean renderPassOpen- Mappings:
Namespace Name Mixin selector named renderPassOpenLnet/minecraft/client/gl/GlResourceManager;renderPassOpen:Zintermediary field_57848Lnet/minecraft/class_10860;field_57848:Zofficial fLfjd;f:Z
-
currentProgram
- Mappings:
Namespace Name Mixin selector named currentProgramLnet/minecraft/client/gl/GlResourceManager;currentProgram:Lnet/minecraft/client/gl/ShaderProgram;intermediary field_57849Lnet/minecraft/class_10860;field_57849:Lnet/minecraft/class_5944;official gLfjd;g:Lfjh;
-
-
Constructor Details
-
GlResourceManager
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/client/gl/GlResourceManager;<init>(Lnet/minecraft/client/gl/GlBackend;)Vintermediary <init>Lnet/minecraft/class_10860;<init>(Lnet/minecraft/class_10865;)Vofficial <init>Lfjd;<init>(Lfjg;)V
-
-
Method Details
-
createRenderPass
- Specified by:
createRenderPassin interfaceCommandEncoder
-
createRenderPass
public RenderPass createRenderPass(GpuTexture gpuTexture, OptionalInt optionalInt, @Nullable @Nullable GpuTexture gpuTexture2, OptionalDouble optionalDouble) - Specified by:
createRenderPassin interfaceCommandEncoder
-
clearColorTexture
- Specified by:
clearColorTexturein interfaceCommandEncoder
-
clearColorAndDepthTextures
public void clearColorAndDepthTextures(GpuTexture gpuTexture, int int2, GpuTexture gpuTexture2, double double2) - Specified by:
clearColorAndDepthTexturesin interfaceCommandEncoder
-
clearDepthTexture
- Specified by:
clearDepthTexturein interfaceCommandEncoder
-
writeToBuffer
- Specified by:
writeToBufferin interfaceCommandEncoder
-
readBuffer
- Specified by:
readBufferin interfaceCommandEncoder
-
readBuffer
- Specified by:
readBufferin interfaceCommandEncoder
-
writeToTexture
- Specified by:
writeToTexturein interfaceCommandEncoder
-
writeToTexture
public void writeToTexture(GpuTexture gpuTexture, NativeImage nativeImage, int int2, int int3, int int4, int int5, int int6, int int7, int int8) - Specified by:
writeToTexturein interfaceCommandEncoder
-
writeToTexture
public void writeToTexture(GpuTexture gpuTexture, IntBuffer intBuffer, NativeImage.Format format, int int2, int int3, int int4, int int5, int int6) - Specified by:
writeToTexturein interfaceCommandEncoder
-
copyTextureToBuffer
public void copyTextureToBuffer(GpuTexture gpuTexture, GpuBuffer gpuBuffer, int int2, Runnable runnable, int int3) - Specified by:
copyTextureToBufferin interfaceCommandEncoder
-
copyTextureToBuffer
public void copyTextureToBuffer(GpuTexture gpuTexture, GpuBuffer gpuBuffer, int int2, Runnable runnable, int int3, int int4, int int5, int int6, int int7) - Specified by:
copyTextureToBufferin interfaceCommandEncoder
-
copyTextureToTexture
public void copyTextureToTexture(GpuTexture gpuTexture, GpuTexture gpuTexture2, int int2, int int3, int int4, int int5, int int6, int int7, int int8) - Specified by:
copyTextureToTexturein interfaceCommandEncoder
-
presentTexture
- Specified by:
presentTexturein interfaceCommandEncoder
-
method_68355
protected void method_68355(RenderPassImpl renderPassImpl, Collection<RenderPass.class_10884> collection, @Nullable @Nullable GpuBuffer gpuBuffer, @Nullable VertexFormat.class_5595 class_5595) - Mappings:
Namespace Name Mixin selector named method_68355Lnet/minecraft/client/gl/GlResourceManager;method_68355(Lnet/minecraft/client/gl/RenderPassImpl;Ljava/util/Collection;Lcom/mojang/blaze3d/buffers/GpuBuffer;Lcom/mojang/blaze3d/vertex/VertexFormat$class_5595;)Vintermediary method_68355Lnet/minecraft/class_10860;method_68355(Lnet/minecraft/class_10866;Ljava/util/Collection;Lcom/mojang/blaze3d/buffers/GpuBuffer;Lcom/mojang/blaze3d/vertex/VertexFormat$class_5595;)Vofficial aLfjd;a(Lfji;Ljava/util/Collection;Lcom/mojang/blaze3d/buffers/GpuBuffer;Lcom/mojang/blaze3d/vertex/VertexFormat$a;)V
-
method_68352
protected void method_68352(RenderPassImpl renderPassImpl, int int2, int int3, @Nullable VertexFormat.class_5595 class_5595) - Mappings:
Namespace Name Mixin selector named method_68352Lnet/minecraft/client/gl/GlResourceManager;method_68352(Lnet/minecraft/client/gl/RenderPassImpl;IILcom/mojang/blaze3d/vertex/VertexFormat$class_5595;)Vintermediary method_68352Lnet/minecraft/class_10860;method_68352(Lnet/minecraft/class_10866;IILcom/mojang/blaze3d/vertex/VertexFormat$class_5595;)Vofficial aLfjd;a(Lfji;IILcom/mojang/blaze3d/vertex/VertexFormat$a;)V
-
method_68353
private void method_68353(RenderPassImpl renderPassImpl, int int2, int int3, @Nullable VertexFormat.class_5595 class_5595, CompiledShaderPipeline compiledShaderPipeline) - Mappings:
Namespace Name Mixin selector named method_68353Lnet/minecraft/client/gl/GlResourceManager;method_68353(Lnet/minecraft/client/gl/RenderPassImpl;IILcom/mojang/blaze3d/vertex/VertexFormat$class_5595;Lnet/minecraft/client/gl/CompiledShaderPipeline;)Vintermediary method_68353Lnet/minecraft/class_10860;method_68353(Lnet/minecraft/class_10866;IILcom/mojang/blaze3d/vertex/VertexFormat$class_5595;Lnet/minecraft/class_10867;)Vofficial aLfjd;a(Lfji;IILcom/mojang/blaze3d/vertex/VertexFormat$a;Lfjj;)V
-
setupRenderPass
- Mappings:
Namespace Name Mixin selector named setupRenderPassLnet/minecraft/client/gl/GlResourceManager;setupRenderPass(Lnet/minecraft/client/gl/RenderPassImpl;)Zintermediary method_68351Lnet/minecraft/class_10860;method_68351(Lnet/minecraft/class_10866;)Zofficial aLfjd;a(Lfji;)Z
-
method_68356
- Mappings:
Namespace Name Mixin selector named method_68356Lnet/minecraft/client/gl/GlResourceManager;method_68356(Lcom/mojang/blaze3d/pipeline/RenderPipeline;)Vintermediary method_68356Lnet/minecraft/class_10860;method_68356(Lcom/mojang/blaze3d/pipeline/RenderPipeline;)Vofficial aLfjd;a(Lcom/mojang/blaze3d/pipeline/RenderPipeline;)V
-
closePass
public void closePass()- Mappings:
Namespace Name Mixin selector named closePassLnet/minecraft/client/gl/GlResourceManager;closePass()Vintermediary method_68346Lnet/minecraft/class_10860;method_68346()Vofficial aLfjd;a()V
-
getBackend
- Mappings:
Namespace Name Mixin selector named getBackendLnet/minecraft/client/gl/GlResourceManager;getBackend()Lnet/minecraft/client/gl/GlBackend;intermediary method_68369Lnet/minecraft/class_10860;method_68369()Lnet/minecraft/class_10865;official bLfjd;b()Lfjg;
-