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 intprivate booleanprivate GpuTextureprivate intprivate intprivate static final intprivate static final intprivate GpuBufferprivate TracyFrameCapture.Statusprivate intprivate intprivate 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 pWidth, int pHeight) -
capture
-
upload
public void upload() -
endFrame
public void endFrame() -
close
public void close()- Specified by:
closein interfaceAutoCloseable
-