@Praptobala wrote:
Hi,
I am trying update my camera color 1920 x 1080 color buffer Texture2D for Rendering.
Is it possible to get Texture2D pixel buffer handle directly, so that I can copy my buffer directly into Texture2D.
Now I am doing 3 things get the color buffer from my camera to Texture2D.
- Allocating byte[] array in my application.
- Copy the Camera Color buffer to Byte Array.
- Set the Color Byte Array to Texture2D.SetData().
Since Tex2D.Setdata() taking more time for copying the buffer leads to frame drops.
I am getting only 5 or 6 frames sometimes..
Please help me is there any way around for this issue..
Thanks,
Bala
Posts: 8
Participants: 4