minecraft-src/com/mojang/blaze3d/pipeline/TextureTarget.java
2025-07-04 01:41:11 +03:00

14 lines
432 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, boolean clearError) {
super(useDepth);
RenderSystem.assertOnRenderThreadOrInit();
this.resize(width, height, clearError);
}
}