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); } }