Pixel Plotting

Started by
1 comment, last by Mattman57 22 years, 5 months ago
Can anyone tell me how I might go about plotting pixels onto a texture? Thanks in advance!
Advertisement
IDirect3DTexture8::LockRect

everybody asks this question so often... you might want to look at some of the other posts. you get a pointer to the bits of the surface and the pitch of the surface (pitch NOT equal width sometimes because alignment).
And I always ask - what are you doing? Often, plotting pixels is not the best (fastest) way to do whatever it is you''re thinking about...
Author, "Real Time Rendering Tricks and Techniques in DirectX", "Focus on Curves and Surfaces", A third book on advanced lighting and materials

This topic is closed to new replies.

Advertisement