Jump to content

  • Log In with Google      Sign In   
  • Create Account


Drawing an array as a texture


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
No replies to this topic

#1 donutsupernova   Members   -  Reputation: 100

Like
0Likes
Like

Posted 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

Sponsor:



Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS