类 RenderUtil

java.lang.Object
mod.chloeprime.aaaparticles.client.render.RenderUtil

public class RenderUtil extends Object
  • 字段详细资料

    • MC

      public static final net.minecraft.client.Minecraft MC
  • 构造器详细资料

    • RenderUtil

      public RenderUtil()
  • 方法详细资料

    • transposeMatrix4x4

      public static void transposeMatrix4x4(float[] m)
    • clearSamplerBindings

      public static void clearSamplerBindings(int start)
    • copyDepthSafely

      public static void copyDepthSafely(com.mojang.blaze3d.pipeline.RenderTarget from, com.mojang.blaze3d.pipeline.RenderTarget to)
    • copyCurrentDepthTo

      public static void copyCurrentDepthTo(com.mojang.blaze3d.pipeline.RenderTarget target)
    • copyCurrentTo

      public static void copyCurrentTo(com.mojang.blaze3d.pipeline.RenderTarget target)
    • pasteToCurrentDepthFrom

      public static void pasteToCurrentDepthFrom(com.mojang.blaze3d.pipeline.RenderTarget source)
    • copyDepthSafely

      public static void copyDepthSafely(int src, int srcWidth, int srcHeight, com.mojang.blaze3d.pipeline.RenderTarget target)
    • copyDepthSafely

      public static void copyDepthSafely(com.mojang.blaze3d.pipeline.RenderTarget src, int target, int targetWidth, int targetHeight)
    • copySafely

      public static void copySafely(com.mojang.blaze3d.pipeline.RenderTarget src, com.mojang.blaze3d.pipeline.RenderTarget target)
    • runFrameBufferCodeSafely

      public static void runFrameBufferCodeSafely(Runnable code)
    • runEffekLoadCodeHealthily

      public static void runEffekLoadCodeHealthily(Runnable code)
    • runPixelStoreCodeSafely

      @Internal public static void runPixelStoreCodeSafely(Runnable code)
    • runPixelStoreCodeHealthily

      public static void runPixelStoreCodeHealthily(Runnable code)
    • supplyPixelStoreCodeHealthily

      public static <T> T supplyPixelStoreCodeHealthily(Supplier<T> code)
    • supplyEffekLoadCodeHealthily

      public static <T> T supplyEffekLoadCodeHealthily(Supplier<T> code)
    • isReloadingResourcePacks

      public static boolean isReloadingResourcePacks()
    • refreshBackgroundFrameBuffer

      public static void refreshBackgroundFrameBuffer()
    • prepareBackgroundBuffer

      public static Optional<com.mojang.blaze3d.pipeline.RenderTarget> prepareBackgroundBuffer()
    • getDepthFormat

      public static int getDepthFormat(com.mojang.blaze3d.pipeline.RenderTarget fb)
    • syncStencilState

      public static void syncStencilState(com.mojang.blaze3d.pipeline.RenderTarget from, com.mojang.blaze3d.pipeline.RenderTarget to)