Package foundry.veil.impl.client.render
Class AdvancedFboImpl.Wrapper
java.lang.Object
com.mojang.blaze3d.pipeline.RenderTarget
com.mojang.blaze3d.pipeline.TextureTarget
foundry.veil.impl.client.render.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
createBuffers
(int width, int height, boolean onMac) void
fbo()
void
resize
(int width, int height, boolean onMac) void
setFilterMode
(int framebufferFilter) void
Methods inherited from class com.mojang.blaze3d.pipeline.RenderTarget
blitToScreen, blitToScreen, checkStatus, clear, copyDepthFrom, getColorTextureId, getDepthTextureId, setClearColor, 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
-
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
-