MCPcopy Index your code
hub / github.com/benfry/processing4 / allocateFloatBuffer

Method allocateFloatBuffer

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

Source from the content-addressed store, hash-verified

2630
2631
2632 protected static FloatBuffer allocateFloatBuffer(int size) {
2633 if (USE_DIRECT_BUFFERS) {
2634 return allocateDirectFloatBuffer(size);
2635 } else {
2636 return FloatBuffer.allocate(size);
2637 }
2638 }
2639
2640
2641 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