mirror of
https://github.com/Minestom/Minestom.git
synced 2025-01-08 01:17:47 +01:00
Fix javadoc and optimize imports
This commit is contained in:
parent
373ef90535
commit
92cbc4727c
@ -1,7 +1,6 @@
|
|||||||
package net.minestom.server.map.framebuffers;
|
package net.minestom.server.map.framebuffers;
|
||||||
|
|
||||||
import net.minestom.server.map.Framebuffer;
|
import net.minestom.server.map.Framebuffer;
|
||||||
import net.minestom.server.utils.time.TimeUnit;
|
|
||||||
import org.lwjgl.BufferUtils;
|
import org.lwjgl.BufferUtils;
|
||||||
|
|
||||||
import java.nio.ByteBuffer;
|
import java.nio.ByteBuffer;
|
||||||
@ -22,7 +21,7 @@ import static org.lwjgl.glfw.GLFW.GLFW_OPENGL_API;
|
|||||||
* to automatically render to the offscreen buffer on a specialized thread.
|
* to automatically render to the offscreen buffer on a specialized thread.
|
||||||
*
|
*
|
||||||
* GLFWFramebuffer does not provide guarantee that the result of {@link #toMapColors()} is synchronized with rendering, but
|
* GLFWFramebuffer does not provide guarantee that the result of {@link #toMapColors()} is synchronized with rendering, but
|
||||||
* it will be updated after each frame rendered through {@link #render(Runnable)} or {@link #setupRenderLoop(long, TimeUnit, Runnable)}.
|
* it will be updated after each frame rendered through {@link #render(Runnable)} or {@link #setupRenderLoop(long, java.time.temporal.TemporalUnit, Runnable)}.
|
||||||
*
|
*
|
||||||
* This framebuffer is meant to render to a single map (ie it is only compatible with 128x128 rendering)
|
* This framebuffer is meant to render to a single map (ie it is only compatible with 128x128 rendering)
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user