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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract void
bindWrite
(boolean setViewport) void
clear
(boolean clearError, org.spongepowered.asm.mixin.injection.callback.CallbackInfo ci) void
copyDepthFrom
(com.mojang.blaze3d.pipeline.RenderTarget otherTarget, org.spongepowered.asm.mixin.injection.callback.CallbackInfo ci) abstract int
abstract int
abstract void
void
veil$clearColorBuffer
(boolean clearError)
-
Field Details
-
frameBufferId
public int frameBufferId -
width
public int width -
height
public int height -
useDepth
public boolean useDepth
-
-
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$clearColorBuffer
in interfacePerformanceRenderTargetExtension
-