minecraft-src/com/mojang/blaze3d/pipeline/TextureTarget.java
2025-07-04 02:49:36 +03:00

14 lines
400 B
Java

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