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

Method nextIntBuffer

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

Source from the content-addressed store, hash-verified

526 }
527
528 public static IntBuffer nextIntBuffer(int size)
529 {
530 ByteBuffer bytebuffer = bigBuffer;
531 int i = bytebuffer.limit();
532 bytebuffer.position(i).limit(i + size * 4);
533 return bytebuffer.asIntBuffer();
534 }
535
536 private static FloatBuffer nextFloatBuffer(int size)
537 {

Callers 3

resetConfigurationMethod · 0.95
ShadersClass · 0.95
nextIntBufferArrayMethod · 0.95

Calls 2

positionMethod · 0.80
limitMethod · 0.45

Tested by

no test coverage detected