I am using SlimDX(DX9) but I imagine its the same for all versions of DX. I am trying to pass both the CreateFlags.HardwareVertexProssesing and CreateFlags.Multithreaded but I can’t figure out how.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Since they are flags, you should be able to combine them using the bit OR operator.
Edit based on comment
Lets say HardwareVertexProcessing = 0001 and Multithreaded = 0010
If we OR these together we get:
But if we AND these, we get:
This link gives more detailed information. Its from the Mozilla Developer Network.