14 lines
400 B
Java
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);
|
|
}
|
|
}
|