|
-
Feb 4th, 2012, 07:52 PM
#2
Re: [VB6-API]- the pointers are more faster than DIB's?
I tried telling you before about direct memory addressing which is by far the fastest way to draw pixels. Its so fast you can do a couple for loops to draw each pixel 640x480 and itll still be 60 fps. i once shown you the code to do this. Only in that example i used directx to obtain the pointer to the video memory as well as for flipping the backbuffer to the screen. Also I used a safe array, and a simple array declared as a Long (or Integer) was used to draw the pixel. I used to be just like you trying to find the fastest way to draw but you are only gonna get so far in VB6. If you truely want the ultimate speed, you could try learning C++.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|