Package dev.zelo.renderscale
Class CommonClass
java.lang.Object
dev.zelo.renderscale.CommonClass
-
Field Summary
FieldsModifier and TypeFieldDescription@Nullable com.mojang.blaze3d.pipeline.RenderTargetstatic final me.shedaniel.autoconfig.ConfigHolder<RenderScaleConfig> boolean@Nullable com.mojang.blaze3d.pipeline.RenderTarget -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic RenderScaleConfigdoublestatic CommonClassstatic voidinit()static voidinit(net.minecraft.client.Minecraft client) voidvoidvoidsetClientRenderTarget(com.mojang.blaze3d.pipeline.RenderTarget renderTarget) voidsetShouldScale(boolean shouldScale)
-
Field Details
-
renderTarget
@Nullable public @Nullable com.mojang.blaze3d.pipeline.RenderTarget renderTarget -
clientRenderTarget
@Nullable public @Nullable com.mojang.blaze3d.pipeline.RenderTarget clientRenderTarget -
hasRun
public boolean hasRun -
CONFIG
-
-
Constructor Details
-
CommonClass
public CommonClass()
-
-
Method Details
-
init
public static void init() -
init
public static void init(net.minecraft.client.Minecraft client) -
getInstance
-
getConfig
-
onResolutionChanged
public void onResolutionChanged() -
setClientRenderTarget
public void setClientRenderTarget(com.mojang.blaze3d.pipeline.RenderTarget renderTarget) -
setShouldScale
public void setShouldScale(boolean shouldScale) -
getCurrentScaleFactor
public double getCurrentScaleFactor() -
resizeRenderTarget
public void resizeRenderTarget()
-