Class ProjectionMatrixBuffer
java.lang.Object
net.minecraft.client.renderer.ProjectionMatrixBuffer
- All Implemented Interfaces:
AutoCloseable
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) GpuBuffer(package private) GpuBufferSliceprivate @Nullable Projectionprivate longprivate final Matrix4f -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()getBuffer(Projection projection) private GpuBufferSlicewriteBuffer(Matrix4f projectionMatrix)
-
Field Details
-
buffer
GpuBuffer buffer -
bufferSlice
GpuBufferSlice bufferSlice -
lastUploadedProjection
-
projectionMatrixVersion
private long projectionMatrixVersion -
tempMatrix
-
-
Constructor Details
-
ProjectionMatrixBuffer
-
-
Method Details
-
getBuffer
-
getBuffer
-
writeBuffer
-
close
public void close()- Specified by:
closein interfaceAutoCloseable
-