private int getUniLoc(String name) { ByteBuffer nameBuf = BufferUtils .createByteBuffer(name.getBytes().length); nameBuf.clear(); nameBuf.put(name.getBytes()); nameBuf.rewind();  return ARBShaderObjects.glGetUniformLocationARB(programID, nameBuf);
private int getUniLoc(ShaderUniform uniform) { if (uniform.uniformID == -1) { ByteBuffer nameBuf = BufferUtils .createByteBuffer(uniform.name.getBytes().length); nameBuf.clear(); nameBuf.put(uniform.name.getBytes()); nameBuf.rewind();  uniform.uniformID = ARBShaderObjects.glGetUniformLocationARB(programID, nameBuf); } return uniform.uniformID;
    private int getUniLoc(String name) {        ByteBuffer nameBuf = BufferUtils                .createByteBuffer(name.getBytes().length);        nameBuf.clear();        nameBuf.put(name.getBytes());        nameBuf.rewind();        return ARBShaderObjects.glGetUniformLocationARB(programID, nameBuf);    }