I am looking for a solution to fetch the texturecoords that is stored on the GPU-side.
that is the attribute (in) - the texturecoords that are passed in to the shader through a floatbuffer
mCubeTextureCoordinates.position(0);
GLES20.glVertexAttribPointer(mTextureCoordinateHandle, GLfields.TEXTURE_COORD_DATASIZE, GLES20.GL_FLOAT, false,
0, mCubeTextureCoordinates);
in glsl-program
attribute vec2 a_TexCoordinate;
Could I fetch the vec2-data on the cpu-side at some stage like ..
int textAttr = GLES20.glGetAttribLocation(mProgramHandle, "a_TexCoordinate");
GLES20.glGetFloatv(textAttr, xy, 0);
where xy is a float-vector (float[] xy = new ...)
Just a guess, the array is not filled with any data according to the debugger but I guess you get the point - fetch the texturecoord-vector from the GPU