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

Method fillIntBufferZero

src/main/java/net/optifine/shaders/Shaders.java:3659–3669  ·  view source on GitHub ↗
(IntBuffer buf)

Source from the content-addressed store, hash-verified

3657 }
3658
3659 private static IntBuffer fillIntBufferZero(IntBuffer buf)
3660 {
3661 int i = buf.limit();
3662
3663 for (int j = buf.position(); j < i; ++j)
3664 {
3665 buf.put(j, 0);
3666 }
3667
3668 return buf;
3669 }
3670
3671 public static void uninit()
3672 {

Callers 1

uninitMethod · 0.95

Calls 3

positionMethod · 0.80
putMethod · 0.65
limitMethod · 0.45

Tested by

no test coverage detected