Oh yeah forgot to add, to colourFormat in the Init function, you just pass the display mode you want (e.g. D3DFMT_A8R8G8B8, D3DFMT_R8G8B8, D3DFMT_R5G6B5 for 32, 24, or 16-bit colour respectively).
The blit function is fairly fast. I have it drawing 800+ 32x32 images (with vertex shading and alpha effects of course!) per frame while still getting 110 FPS on a PCI Geforce2 MX. Not too shabby .
[edited by - glassJAw on December 24, 2002 1:55:06 AM]
Should I begin with DX 9??
If your just starting then start with the latest. you probably wont release anything major for quite a while and by that time dx9 would be pretty common
-ZeN
-ZeN
>>If your just starting then start with the latest. you probably wont release anything major for quite a while and by that time dx9 would be pretty common <<
/agree
/agree
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement