h = buf.getHeight();
px = ((DataBufferByte)buf.getRaster().getDataBuffer()).getData();
List<VertexAttrib> attr = Arrays.asList(
new VertexAttrib(0, "Position", 3),
new VertexAttrib(1, "TexCoord", 2));
data = new VertexArray(w*h*2, attr);
final String VERT = "uniform mat4 u_projView;\n"
+ "attribute vec2 TexCoord;\n"
+ "attribute vec3 Position;\n"
+ "varying vec2 vTexCoord; \n"