Post

 Resources 

Console


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.


-
Back to Forum


Copyright © 2002 - 2004 Eric Coleman, Peter Kuchnio , et. al.
There have been 150 visitors within the last 20 minutes
RSS News Feed