VBGamer |
|||||||||||||||||||||||||||||||||||||||||||||||||||||
How do I see what flags are exposed in an enum LazE (2 replies, 0 views) (2000-Aug-27) If I want to check if a certain flag is exposed in an enum, how can I check?
For example lets say I want to check if my device supports hardware hidden surface removal. That flag would be in DeviceCaps.dpcTriCaps.lRasterCaps. Now I can't just type "If DeviceCaps.dpcTriCaps.lRasterCaps = D3DPRASTERCAPS_ZBUFFERLESSHSR Then..." because it has a lot of other flags there ORed with the one I want. How can I properly check? Thanks.
|