Hi,
I would like to texture map a dynamic texture (which is basically an array of raw pixels that changes every frame like a live video) on to the E2DSurface and draw it on the background, but I don't see a functionality that takes raw pixels (e.g. unsigned char * pixels).
I see PutPixel function, but this function only puts one by one, and it'll be very slow. Is there an easy way in EDGELIB that I can pass raw pixels to a texture (like glTexImage2D) and draw the texture on the background (like glDrawTexOES)?
Thanks
I would like to texture map a dynamic texture (which is basically an array of raw pixels that changes every frame like a live video) on to the E2DSurface and draw it on the background, but I don't see a functionality that takes raw pixels (e.g. unsigned char * pixels).
I see PutPixel function, but this function only puts one by one, and it'll be very slow. Is there an easy way in EDGELIB that I can pass raw pixels to a texture (like glTexImage2D) and draw the texture on the background (like glDrawTexOES)?
Thanks