public int booleanParam(boolean value) {
        int offset = booleanParam();
        buffer.put(offset, value ? (byte) 1 : (byte) 0);
        return offset;
    }
Ensures space for an additional boolean value, sets the specified value
at the allocated offset and returns that offset.
jme3-lwjgl3/src/main/java/com/jme3/lwjgl3/utils/APIBuffer.java