类 TracyFrameCapture

java.lang.Object
com.mojang.blaze3d.TracyFrameCapture
所有已实现的接口:
AutoCloseable

public class TracyFrameCapture extends Object implements AutoCloseable
  • 字段详细资料

    • MAX_WIDTH

      private static final int MAX_WIDTH
      另请参阅:
    • MAX_HEIGHT

      private static final int MAX_HEIGHT
      另请参阅:
    • BYTES_PER_PIXEL

      private static final int BYTES_PER_PIXEL
      另请参阅:
    • targetWidth

      private int targetWidth
    • targetHeight

      private int targetHeight
    • width

      private int width
    • height

      private int height
    • frameBuffer

      private final RenderTarget frameBuffer
    • pixelbuffer

      private final GpuBuffer pixelbuffer
    • fence

      @Nullable private GpuFence fence
    • lastCaptureDelay

      private int lastCaptureDelay
    • capturedThisFrame

      private boolean capturedThisFrame
  • 构造器详细资料

    • TracyFrameCapture

      public TracyFrameCapture()
  • 方法详细资料

    • resize

      private void resize(int p_361808_, int p_365044_)
    • capture

      public void capture(RenderTarget p_367460_)
    • upload

      public void upload()
    • endFrame

      public void endFrame()
    • close

      public void close()
      指定者:
      close 在接口中 AutoCloseable