public int doubleParam(double value) {
        int offset = doubleParam();
        buffer.putDouble(offset, value);
        return offset;
    }
Ensures space for an additional double value, sets the specified value at
the allocated offset and returns that offset.
jme3-lwjgl3/src/main/java/com/jme3/lwjgl3/utils/APIBuffer.java