mojoshader_effects.c
changeset 1021 cad933999680
parent 1019 e8988ca01c6d
child 1036 8a3597b44ff7
equal deleted inserted replaced
1020:c0fe544e0feb 1021:cad933999680
   350     f((void *) effect->profile, d);
   350     f((void *) effect->profile, d);
   351 
   351 
   352     for (i = 0; i < effect->technique_count; i++)
   352     for (i = 0; i < effect->technique_count; i++)
   353     {
   353     {
   354         MOJOSHADER_effectTechnique *technique = &effect->techniques[i];
   354         MOJOSHADER_effectTechnique *technique = &effect->techniques[i];
       
   355         f((void *) technique->name, d);
   355         for (j = 0; j < technique->pass_count; j++)
   356         for (j = 0; j < technique->pass_count; j++)
       
   357         {
       
   358             f((void *) technique->passes[j].name, d);
   356             f(technique->passes[j].states, d);
   359             f(technique->passes[j].states, d);
       
   360         } // for
   357         f(technique->passes, d);
   361         f(technique->passes, d);
   358     } // for
   362     } // for
   359 
   363 
   360     f(effect->techniques, d);
   364     f(effect->techniques, d);
   361 
   365