minecraft-src/com/mojang/blaze3d/pipeline/TextureTarget.java
2025-07-04 03:45:38 +03:00

15 lines
466 B
Java

package com.mojang.blaze3d.pipeline;
import com.mojang.blaze3d.systems.RenderSystem;
import net.fabricmc.api.EnvType;
import net.fabricmc.api.Environment;
import org.jetbrains.annotations.Nullable;
@Environment(EnvType.CLIENT)
public class TextureTarget extends RenderTarget {
public TextureTarget(@Nullable String name, int width, int height, boolean useDepth) {
super(name, useDepth);
RenderSystem.assertOnRenderThread();
this.resize(width, height);
}
}