Original Post
Hi everybody.
I need a very fast way of accessing the pixels/bits on a surface/rendertarget. For now I use something like:
DWORD dw = *(reinterpret_cast(lrec.pBits) + y *
displaymode.right + x);
But the typecast increases time for rendering about 200%...
(I have to do it in a loop :-/ )
Is there a faster way ? Maybe just getting the values of the bits? Instead of copying ?
Regards,
Tim