Jump to content

  • Log In with Google      Sign In   
  • Create Account

Interested in a FREE copy of HTML5 game maker Construct 2?

We'll be giving away three Personal Edition licences in next Tuesday's GDNet Direct email newsletter!

Sign up from the right-hand sidebar on our homepage and read Tuesday's newsletter for details!


We're also offering banner ads on our site from just $5! 1. Details HERE. 2. GDNet+ Subscriptions HERE. 3. Ad upload HERE.


#ActualPaxi

Posted 04 January 2013 - 10:28 AM

In general you write it like this:
UINT numPasses = 0;
mFX->Begin(&numPasses, 0);
....

Like FLEBlanc said, DirectX will fill the variable you are passing in, with the amount of passes.

#2Paxi

Posted 04 January 2013 - 10:28 AM

In general you write it like this:
UINT numPasses = 0;
mFX->Begin(&numPasses, 0);
....

Like FLEBlanc said, DirectX will fill the variable you are passing in, with the amount of passes.

#1Paxi

Posted 04 January 2013 - 10:26 AM

In general you write it like this:

UINT numPasses = 0;
mFX->Begin(&numPasses, 0);
....

PARTNERS