Jump to content

  • Log In with Google      Sign In   
  • Create Account


donutsupernova

Member Since 25 Mar 2012
Offline Last Active Mar 30 2012 11:41 PM
-----

Topics I've Started

Drawing an array as a texture

25 March 2012 - 08:57 PM

How do you convert an int array into a texture on the Android NDK?
So for example

int blackBox= {0,0,0,0,0,0,0,0}
where the 4 elements are the R,G,B, and A values
so it would be a simple two pixel black box

Some sample code would be greatly appreciated

PARTNERS