Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: lishuen on September 23, 2014, 10:11:00 PM

Title: How Can I copy all the pixel on a UIPanel and make it to a UITexture?
Post by: lishuen on September 23, 2014, 10:11:00 PM
How Can I copy all the pixel on a UIPanel and make it to a  UITexture?  I want to incream my UIscrollView moving speed.
Title: Re: How Can I copy all the pixel on a UIPanel and make it to a UITexture?
Post by: ArenMook on September 24, 2014, 01:39:20 PM
You can set up an off-screen camera and render everything into a texture. However note that you will end up using a lot of texture memory, so your "optimization" will not be so clever once you realize how much memory you've used up.
Title: Re: How Can I copy all the pixel on a UIPanel and make it to a UITexture?
Post by: lishuen on September 24, 2014, 09:40:40 PM
Thanks~! I will give it a try. maybe it can run it more speed but lot of memory cost.