   FVF has order?
  before I thought FVF has no order,because FVF just a combination of flag.DX can not get order just by FVF.But if FVF has no order , DX how to know where is position of vertex ,where is color.......   
  Just look it up here. The order is apparently fixed.;Quote:Original post by derek7But if FVF has no order , DX how to know where is position of vertex ,where is color.......It doesn't - is assumes you have them in the correct spots.  Just check the SDK for a comprehensive look at it.  In all reality, you absolutely should be using vertex declarations, not FVF codes.  They are outdated and inflexible (maybe they should be called "Inflexible Vertex Format" heh).   ;Quote:Original post by darookieJust look it up here. The order is apparently fixed.You mean the order is fixed. We must follow the order to create the vertex data?   ;Quote:Original post by derek7Quote:Original post by darookieJust look it up here. The order is apparently fixed.You mean the order is fixed. We must follow the order to create the vertex data?Indeed. The "flexible" vertex formats requires the components to follow this defined order to work. As circlesoft already pointed out, you should use vertex declarations instead. Beware though, that some drivers still only accept FVF-like component ordering.