Package net.createmod.catnip.gui
Class UIRenderHelper.CustomRenderTarget
java.lang.Object
com.mojang.blaze3d.pipeline.RenderTarget
net.createmod.catnip.gui.UIRenderHelper.CustomRenderTarget
- All Implemented Interfaces:
io.github.fabricators_of_create.porting_lib.extensions.extensions.RenderTargetExtensions
- Enclosing class:
- UIRenderHelper
public static class UIRenderHelper.CustomRenderTarget
extends com.mojang.blaze3d.pipeline.RenderTarget
-
Field Summary
Fields inherited from class com.mojang.blaze3d.pipeline.RenderTarget
colorTextureId, depthBufferId, filterMode, frameBufferId, height, useDepth, viewHeight, viewWidth, width -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreate(com.mojang.blaze3d.platform.Window mainWindow) voidrenderWithAlpha(com.mojang.blaze3d.vertex.PoseStack poseStack, float alpha) Methods inherited from class com.mojang.blaze3d.pipeline.RenderTarget
bindRead, bindWrite, blitToScreen, blitToScreen, checkStatus, clear, copyDepthFrom, createBuffers, destroyBuffers, getColorTextureId, getDepthTextureId, resize, setClearColor, setFilterMode, unbindRead, unbindWriteMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.github.fabricators_of_create.porting_lib.extensions.extensions.RenderTargetExtensions
disableStencil, enableStencil, isStencilEnabled
-
Constructor Details
-
CustomRenderTarget
public CustomRenderTarget(boolean useDepth)
-
-
Method Details
-
create
public static UIRenderHelper.CustomRenderTarget create(com.mojang.blaze3d.platform.Window mainWindow) -
renderWithAlpha
public void renderWithAlpha(com.mojang.blaze3d.vertex.PoseStack poseStack, float alpha)
-