Hi,
I'm having trouble using CopyRect - copying a 3d render from the backbuffer to a texture.
So I'm doing :-
CopyRect 0,0, w, h, 0,0, BackBuffer(), TextureBuffer( tex )
It appears that nothing is being copied. I'm locking both the backbuffer and the texture buffer incase that's the issue. I've also tested the lock using a WritePixel on the texture buffer and this works fine.
What am I doing wrong?
I'm having trouble using CopyRect - copying a 3d render from the backbuffer to a texture.
So I'm doing :-
CopyRect 0,0, w, h, 0,0, BackBuffer(), TextureBuffer( tex )
It appears that nothing is being copied. I'm locking both the backbuffer and the texture buffer incase that's the issue. I've also tested the lock using a WritePixel on the texture buffer and this works fine.
What am I doing wrong?