简体   繁体   中英

How can I display my UIImage on an EAGLView (iPhone)?

I have a UIImage.

I have an EAGLView in my app, which is a derivative of the GLPaint ("Shake Me!") sample program.

The UIImage is full-screen (320x480.) Actually, it's a screen-capture of the EAGLView's image from earlier in the program (like in this question .)

I'd like to set the layer-contents of the EAGLView to the image, and then continue drawing on top of that.

Hints? Pointers to sample code? Docs to read?

Thanks!

事实证明,EAGLViews可以像UIViews一样堆叠(并且可以混合使用),并且具有透明性,所以事情比我尝试制作起来要容易得多。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM