Class PerformanceRenderTargetMixin
java.lang.Object
foundry.veil.mixin.performance.client.PerformanceRenderTargetMixin
- All Implemented Interfaces:
PerformanceRenderTargetExtension
public abstract class PerformanceRenderTargetMixin
extends Object
implements PerformanceRenderTargetExtension
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract voidbindWrite(boolean setViewport) voidclear(boolean clearError, org.spongepowered.asm.mixin.injection.callback.CallbackInfo ci) voidcopyDepthFrom(com.mojang.blaze3d.pipeline.RenderTarget otherTarget, org.spongepowered.asm.mixin.injection.callback.CallbackInfo ci) abstract intabstract intabstract voidvoidveil$clearColorBuffer(boolean clearError)
-
Field Details
-
width
public int width -
height
public int height -
useDepth
public boolean useDepth -
frameBufferId
public int frameBufferId
-
-
Constructor Details
-
PerformanceRenderTargetMixin
public PerformanceRenderTargetMixin()
-
-
Method Details
-
getColorTextureId
public abstract int getColorTextureId() -
getDepthTextureId
public abstract int getDepthTextureId() -
bindWrite
public abstract void bindWrite(boolean setViewport) -
unbindWrite
public abstract void unbindWrite() -
copyDepthFrom
public void copyDepthFrom(com.mojang.blaze3d.pipeline.RenderTarget otherTarget, org.spongepowered.asm.mixin.injection.callback.CallbackInfo ci) -
clear
public void clear(boolean clearError, org.spongepowered.asm.mixin.injection.callback.CallbackInfo ci) -
veil$clearColorBuffer
public void veil$clearColorBuffer(boolean clearError) - Specified by:
veil$clearColorBufferin interfacePerformanceRenderTargetExtension
-