Uses of Class
com.mojang.blaze3d.textures.GpuTexture
Packages that use GpuTexture
Package
Description
-
Uses of GpuTexture in com.mojang.blaze3d.platform
Methods in com.mojang.blaze3d.platform with parameters of type GpuTextureModifier and TypeMethodDescriptionstatic void
TextureUtil.writeAsPNG
(Path directory, String prefix, GpuTexture texture, int scales, IntUnaryOperator colorFunction) -
Uses of GpuTexture in com.mojang.blaze3d.systems
Fields in com.mojang.blaze3d.systems declared as GpuTextureMethods in com.mojang.blaze3d.systems that return GpuTextureModifier and TypeMethodDescriptionGpuDevice.createTexture
(@Nullable String label, TextureFormat format, int width, int height, int mipLevels) GpuDevice.createTexture
(@Nullable Supplier<String> labelGetter, TextureFormat format, int width, int height, int mipLevels) static @Nullable GpuTexture
RenderSystem.getShaderTexture
(int index) Methods in com.mojang.blaze3d.systems with parameters of type GpuTextureModifier and TypeMethodDescriptionvoid
RenderPass.bindSampler
(String name, GpuTexture texture) void
CommandEncoder.clearColorAndDepthTextures
(GpuTexture colorAttachment, int color, GpuTexture depthAttachment, double depth) void
CommandEncoder.clearColorTexture
(GpuTexture texture, int color) void
CommandEncoder.clearDepthTexture
(GpuTexture texture, double depth) void
CommandEncoder.copyTextureToBuffer
(GpuTexture target, GpuBuffer source, int offset, Runnable dataUploadedCallback, int mipLevel) void
CommandEncoder.copyTextureToBuffer
(GpuTexture target, GpuBuffer source, int offset, Runnable dataUploadedCallback, int mipLevel, int intoX, int intoY, int width, int height) void
CommandEncoder.copyTextureToTexture
(GpuTexture target, GpuTexture source, int mipLevel, int intoX, int intoY, int sourceX, int sourceY, int width, int height) CommandEncoder.createRenderPass
(GpuTexture colorAttachment, OptionalInt clearColor) CommandEncoder.createRenderPass
(GpuTexture colorAttachment, OptionalInt clearColor, @Nullable GpuTexture depthAttachment, OptionalDouble clearDepth) void
CommandEncoder.presentTexture
(GpuTexture texture) static void
RenderSystem.setShaderTexture
(int index, @Nullable GpuTexture texture) static void
RenderSystem.setupOverlayColor
(@Nullable GpuTexture texture) void
CommandEncoder.writeToTexture
(GpuTexture target, IntBuffer source, NativeImage.Format format, int mipLevel, int intoX, int intoY, int width, int height) void
CommandEncoder.writeToTexture
(GpuTexture target, NativeImage source) void
CommandEncoder.writeToTexture
(GpuTexture target, NativeImage source, int mipLevel, int intoX, int intoY, int width, int height, int x, int y) -
Uses of GpuTexture in net.minecraft.client.font
Methods in net.minecraft.client.font with parameters of type GpuTexture -
Uses of GpuTexture in net.minecraft.client.gl
Fields in net.minecraft.client.gl declared as GpuTextureModifier and TypeFieldDescriptionprotected @Nullable GpuTexture
Framebuffer.colorAttachment
protected @Nullable GpuTexture
Framebuffer.depthAttachment
Fields in net.minecraft.client.gl with type parameters of type GpuTextureModifier and TypeFieldDescriptionprivate final Object2ObjectMap
<String, GpuTexture> ShaderProgram.samplerTextures
protected final HashMap
<String, GpuTexture> RenderPassImpl.samplerUniforms
Methods in net.minecraft.client.gl that return GpuTextureModifier and TypeMethodDescriptionprivate @Nullable GpuTexture
WindowFramebuffer.createColorAttachment
(WindowFramebuffer.Size size) private @Nullable GpuTexture
WindowFramebuffer.createDepthAttachment
(WindowFramebuffer.Size size) GlBackend.createTexture
(@Nullable String label, TextureFormat format, int width, int height, int mipLevels) GlBackend.createTexture
(@Nullable Supplier<String> labelGetter, TextureFormat format, int width, int height, int mipLevels) Framebuffer.getColorAttachment()
Framebuffer.getDepthAttachment()
Methods in net.minecraft.client.gl with parameters of type GpuTextureModifier and TypeMethodDescriptionvoid
ShaderProgram.addSamplerTexture
(String name, @Nullable GpuTexture texture) void
RenderPassImpl.bindSampler
(String name, GpuTexture texture) void
GlResourceManager.clearColorAndDepthTextures
(GpuTexture colorAttachment, int color, GpuTexture depthAttachment, double depth) void
GlResourceManager.clearColorTexture
(GpuTexture texture, int color) void
GlResourceManager.clearDepthTexture
(GpuTexture texture, double depth) void
GlResourceManager.copyTextureToBuffer
(GpuTexture target, GpuBuffer source, int offset, Runnable dataUploadedCallback, int mipLevel) void
GlResourceManager.copyTextureToBuffer
(GpuTexture target, GpuBuffer source, int offset, Runnable dataUploadedCallback, int mipLevel, int intoX, int intoY, int width, int height) void
GlResourceManager.copyTextureToTexture
(GpuTexture target, GpuTexture source, int mipLevel, int intoX, int intoY, int sourceX, int sourceY, int width, int height) GlResourceManager.createRenderPass
(GpuTexture colorAttachment, OptionalInt clearColor) GlResourceManager.createRenderPass
(GpuTexture colorAttachment, OptionalInt clearColor, @Nullable GpuTexture depthAttachment, OptionalDouble clearDepth) void
Framebuffer.drawBlit
(GpuTexture texture) void
GlResourceManager.presentTexture
(GpuTexture texture) void
GlResourceManager.writeToTexture
(GpuTexture target, IntBuffer source, NativeImage.Format format, int mipLevel, int intoX, int intoY, int width, int height) void
GlResourceManager.writeToTexture
(GpuTexture target, NativeImage source) void
GlResourceManager.writeToTexture
(GpuTexture target, NativeImage source, int mipLevel, int intoX, int intoY, int width, int height, int x, int y) -
Uses of GpuTexture in net.minecraft.client.render
Fields in net.minecraft.client.render declared as GpuTextureMethods in net.minecraft.client.render that return GpuTexture -
Uses of GpuTexture in net.minecraft.client.texture
Subclasses of GpuTexture in net.minecraft.client.textureFields in net.minecraft.client.texture declared as GpuTextureMethods in net.minecraft.client.texture that return GpuTextureMethods in net.minecraft.client.texture with parameters of type GpuTextureModifier and TypeMethodDescriptionint
GlTexture.getOrCreateFramebuffer
(FramebufferManager manager, @Nullable GpuTexture depthTexture) (package private) void
SpriteContents.Interpolation.method_24128
(int int2, int int3, SpriteContents.AnimatorImpl animatorImpl, GpuTexture gpuTexture) void
Animator.tick
(int x, int y, GpuTexture texture) void
Sprite.TickableAnimation.tick
(GpuTexture texture) void
SpriteContents.AnimatorImpl.tick
(int x, int y, GpuTexture texture) void
Sprite.upload
(GpuTexture texture) (package private) void
SpriteContents.Animation.upload
(int x, int y, int frame, GpuTexture texture) void
SpriteContents.Animation.upload
(int x, int y, GpuTexture texture) (package private) void
SpriteContents.upload
(int x, int y, int unpackSkipPixels, int unpackSkipRows, NativeImage[] images, GpuTexture texture) void
SpriteContents.upload
(int x, int y, GpuTexture texture) -
Uses of GpuTexture in net.minecraft.client.util.tracy
Fields in net.minecraft.client.util.tracy declared as GpuTexture