Class TracyFrameCapture

java.lang.Object
com.mojang.blaze3d.TracyFrameCapture
All Implemented Interfaces:
AutoCloseable

public class TracyFrameCapture extends Object implements AutoCloseable
  • Field Details

    • MAX_WIDTH

      private static final int MAX_WIDTH
      See Also:
    • MAX_HEIGHT

      private static final int MAX_HEIGHT
      See Also:
    • BYTES_PER_PIXEL

      private static final int BYTES_PER_PIXEL
      See Also:
    • targetWidth

      private int targetWidth
    • targetHeight

      private int targetHeight
    • width

      private int width
    • height

      private int height
    • frameBuffer

      @Nullable private GpuTexture frameBuffer
    • pixelbuffer

      @Nullable private GpuBuffer pixelbuffer
    • lastCaptureDelay

      private int lastCaptureDelay
    • capturedThisFrame

      private boolean capturedThisFrame
    • status

      private TracyFrameCapture.Status status
  • Constructor Details

    • TracyFrameCapture

      public TracyFrameCapture()
  • Method Details

    • resize

      private void resize(int p_372813_, int p_372948_)
    • capture

      public void capture(RenderTarget p_372980_)
    • upload

      public void upload()
    • endFrame

      public void endFrame()
    • close

      public void close()
      Specified by:
      close in interface AutoCloseable