Does anyone know the order / meaning of the 4 integers passed via GL_'TEXTURE_CROP_RECT_OES?
I’ve tried to find the information in the OES_draw_texture extension documentation, but they don’t specify what the four integers actually do. Do we have to evaluate them as left/right/top/bottom? Or left/top/width/height?
The documentation also does not specify if the current texture crop rectangle is queryable via glGetTexParameteriv and how the default values after texture creation are defined.
At last, how exactly are out of bound texture crop rectangles treated? Should an implementation use the current wrap mode or clamp the parameters to the texture baselevel size?
Best regards,
Nils Pipenbrinck