MCPcopy Create free account
hub / github.com/DGVPSH/SlackOpen / nextFloatBuffer

Method nextFloatBuffer

src/main/java/net/optifine/shaders/Shaders.java:536–542  ·  view source on GitHub ↗
(int size)

Source from the content-addressed store, hash-verified

534 }
535
536 private static FloatBuffer nextFloatBuffer(int size)
537 {
538 ByteBuffer bytebuffer = bigBuffer;
539 int i = bytebuffer.limit();
540 bytebuffer.position(i).limit(i + size * 4);
541 return bytebuffer.asFloatBuffer();
542 }
543
544 private static IntBuffer[] nextIntBufferArray(int count, int size)
545 {

Callers 1

ShadersClass · 0.95

Calls 2

positionMethod · 0.80
limitMethod · 0.45

Tested by

no test coverage detected