Jump to content

View more

Image of the Day

#ld38 #screenshotsaturday Mimosa Fizz action gif #2 https://t.co/TUzdppvfUL
IOTD | Top Screenshots

The latest, straight to your Inbox.

Subscribe to GameDev.net Direct to receive the latest updates and exclusive content.


Sign up now

Drawing an array as a texture

4: Adsense

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   

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




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.