TextureTarget .java

com.mojang.blaze3d.pipeline.TextureTarget (class, 19 lines): members: colorFormat. imports: GpuFormat, RenderSystem, Nullable, EnvType.

com.mojang.blaze3d.pipelineclass19 linesclientextends RenderTarget611 B

API Surface (0)

No public/protected methods detected (fields or constants only).

Fields & Constants (1)

colorFormat

Code Graph: Dependencies (3)

Edges (calls / imports / inherits / references) resolved by graphify from the AST. Every chip opens the class source.

Full Source

TextureTarget.java19 lines · Minecraft 26.3 · verbatim
1
package com.mojang.blaze3d.pipeline;
2
3
import com.mojang.blaze3d.systems.RenderSystem;
4
import com.mojang.renderpearl.api.GpuFormat;
5
import net.fabricmc.api.EnvType;
6
import net.fabricmc.api.Environment;
7
import org.jspecify.annotations.Nullable;
8
9
@Environment(EnvType.CLIENT)
10
public class TextureTarget extends RenderTarget {
11
	public TextureTarget(
12
		final @Nullable String label, final int width, final int height, final @Nullable GpuFormat colorFormat, final @Nullable GpuFormat depthFormat
13
	) {
14
		super(label, colorFormat, depthFormat);
15
		RenderSystem.assertOnRenderThread();
16
		this.resize(width, height);
17
	}
18
}
19

Decompiled Minecraft 26.3 source of TextureTarget (com/mojang/blaze3d/pipeline/TextureTarget.java) with Mojang official mappings, stored verbatim on the site.