Package com.mojang.blaze3d
Class TracyFrameCapture
java.lang.Object
com.mojang.blaze3d.TracyFrameCapture
- All Implemented Interfaces:
AutoCloseable
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final int
private boolean
private GpuTexture
private int
private int
private static final int
private static final int
private GpuBuffer
private TracyFrameCapture.Status
private int
private int
private int
-
Constructor Summary
Constructors -
Method Summary
-
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
-
pixelbuffer
-
lastCaptureDelay
private int lastCaptureDelay -
capturedThisFrame
private boolean capturedThisFrame -
status
-
-
Constructor Details
-
TracyFrameCapture
public TracyFrameCapture()
-
-
Method Details
-
resize
private void resize(int p_372813_, int p_372948_) -
capture
-
upload
public void upload() -
endFrame
public void endFrame() -
close
public void close()- Specified by:
close
in interfaceAutoCloseable
-