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

Method allocateFloatBuffer

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

Source from the content-addressed store, hash-verified

2573
2574
2575 protected static FloatBuffer allocateFloatBuffer(int size) {
2576 if (USE_DIRECT_BUFFERS) {
2577 return allocateDirectFloatBuffer(size);
2578 } else {
2579 return FloatBuffer.allocate(size);
2580 }
2581 }
2582
2583
2584 protected static FloatBuffer allocateFloatBuffer(float[] arr) {

Callers 15

PShaderMethod · 0.95
PGraphicsOpenGLMethod · 0.95
allocateMethod · 0.95
initAttribMethod · 0.95
expandPolyVerticesMethod · 0.95
expandPolyNormalsMethod · 0.95
expandPolyTexCoordsMethod · 0.95
expandPolyShininessMethod · 0.95
expandFloatAttributeMethod · 0.95
expandLineVerticesMethod · 0.95
expandLineDirectionsMethod · 0.95
expandPointVerticesMethod · 0.95

Calls 4

wrapMethod · 0.80
allocateMethod · 0.45
putMethod · 0.45

Tested by

no test coverage detected