Class AdvancedFboImpl.Wrapper
java.lang.Object
com.mojang.blaze3d.pipeline.RenderTarget
com.mojang.blaze3d.pipeline.TextureTarget
foundry.veil.impl.client.render.framebuffer.AdvancedFboImpl.Wrapper
- Enclosing class:
AdvancedFboImpl
public static class AdvancedFboImpl.Wrapper
extends com.mojang.blaze3d.pipeline.TextureTarget
A vanilla
RenderTarget
wrapper of the AdvancedFboImpl
.- Since:
- 3.0.0
- See Also:
-
Field Summary
Fields inherited from class com.mojang.blaze3d.pipeline.RenderTarget
colorTextureId, depthBufferId, filterMode, frameBufferId, height, useDepth, viewHeight, viewWidth, width
-
Method Summary
Modifier and TypeMethodDescriptionvoid
bindRead()
void
bindWrite
(boolean setViewport) void
clear
(boolean clearError) void
createBuffers
(int width, int height, boolean onMac) void
fbo()
void
resize
(int width, int height, boolean onMac) void
setClearColor
(float red, float green, float blue, float alpha) void
setFilterMode
(int framebufferFilter) void
Methods inherited from class com.mojang.blaze3d.pipeline.RenderTarget
blitToScreen, blitToScreen, checkStatus, copyDepthFrom, getColorTextureId, getDepthTextureId, unbindWrite
-
Method Details
-
resize
public void resize(int width, int height, boolean onMac) - Overrides:
resize
in classcom.mojang.blaze3d.pipeline.RenderTarget
-
destroyBuffers
public void destroyBuffers()- Overrides:
destroyBuffers
in classcom.mojang.blaze3d.pipeline.RenderTarget
-
createBuffers
public void createBuffers(int width, int height, boolean onMac) - Overrides:
createBuffers
in classcom.mojang.blaze3d.pipeline.RenderTarget
-
setFilterMode
public void setFilterMode(int framebufferFilter) - Overrides:
setFilterMode
in classcom.mojang.blaze3d.pipeline.RenderTarget
-
setClearColor
public void setClearColor(float red, float green, float blue, float alpha) - Overrides:
setClearColor
in classcom.mojang.blaze3d.pipeline.RenderTarget
-
clear
public void clear(boolean clearError) - Overrides:
clear
in classcom.mojang.blaze3d.pipeline.RenderTarget
-
bindRead
public void bindRead()- Overrides:
bindRead
in classcom.mojang.blaze3d.pipeline.RenderTarget
-
unbindRead
public void unbindRead()- Overrides:
unbindRead
in classcom.mojang.blaze3d.pipeline.RenderTarget
-
bindWrite
public void bindWrite(boolean setViewport) - Overrides:
bindWrite
in classcom.mojang.blaze3d.pipeline.RenderTarget
-
fbo
- Returns:
- The backing advanced fbo
-