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.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
    Constructor
    Description
    CustomRenderTarget(boolean useDepth)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    create(com.mojang.blaze3d.platform.Window mainWindow)
     
    void
    renderWithAlpha(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, unbindWrite

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface io.github.fabricators_of_create.porting_lib.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)