There's this: http://gamesfromwithin.com/remixing-opengl-and-uikit
which is an objc/C sample of doing it. It's still not the most efficient means of handling the problem (since It creates a bitmap, renders to the bitmap, and then gives *that* to opengl - not sure if there's a way to directly poke at the UIImage's pixel data in order to give it to opengl), but it looks like it'll work, and all the apis used exist in monotouch. -c On Wed, Sep 14, 2011 at 2:18 PM, Mark Ripley <[email protected]> wrote: > Hi, > > Does anyone have an example of loading an image and turning it into a > texture? I can't find a sample anywhere, and I've given up searching through > the API docs :( > > Thanks! > > M > > > Mark Ripley > Founder > Effervescing Elephant Interactive > eeinteractive.com (http://eeinteractive.com/) > > > _______________________________________________ > MonoTouch mailing list > [email protected] > http://lists.ximian.com/mailman/listinfo/monotouch >
_______________________________________________ MonoTouch mailing list [email protected] http://lists.ximian.com/mailman/listinfo/monotouch
