MCPcopy Index your code
hub / github.com/processing/processing / allocateDirectIntBuffer

Method allocateDirectIntBuffer

core/src/processing/opengl/PGL.java:2477–2481  ·  view source on GitHub ↗
(int size)

Source from the content-addressed store, hash-verified

2475
2476
2477 protected static IntBuffer allocateDirectIntBuffer(int size) {
2478 int bytes = PApplet.max(MIN_DIRECT_BUFFER_SIZE, size) * SIZEOF_INT;
2479 return ByteBuffer.allocateDirect(bytes).order(ByteOrder.nativeOrder()).
2480 asIntBuffer();
2481 }
2482
2483
2484 protected static IntBuffer allocateIntBuffer(int size) {

Callers 5

saveFirstFrameMethod · 0.95
initTextureMethod · 0.95
allocateIntBufferMethod · 0.95
updateIntBufferMethod · 0.95
initFBOLayerESMethod · 0.80

Calls 1

maxMethod · 0.95

Tested by

no test coverage detected