Copy texture from GPU memory to CPU memory

  • Follow


Hi All,

I have a problem.
I need to copy a texture from the gpu memory to the cpu memory.
>From what I see, glReadPixels only supports copy from the framebuffer.
Is there a way to do it beside drawing the texture on the framebuffer
(using quad in the size of the window) - Is there a simple way to do
it?

Thanks,

Eran.

0
Reply ekarpen (1) 10/11/2005 8:52:12 AM

ekarpen@gmail.com wrote:

> Hi All,
> 
> I have a problem.
> I need to copy a texture from the gpu memory to the cpu memory.
>>From what I see, glReadPixels only supports copy from the
>>framebuffer.
> Is there a way to do it beside drawing the texture on the
> framebuffer (using quad in the size of the window) - Is there a
> simple way to do it?

glGetTexImage

Wolfgang Draxinger
-- 

0
Reply Wolfgang 10/11/2005 9:18:33 AM


1 Replies
486 Views

(page loaded in 0.084 seconds)

Similiar Articles:













7/21/2012 9:13:00 PM


Reply: