Direct3D Frame Animation

Direct3D programs must call fg_ddframe(0) at the start of each animation frame, and call fg_ddframe(1) at the end of each frame but before making the frame visible with fg_ddflip(). The two fg_ddframe() calls only need to surround Fastgraph calls that draw graphics with Direct3D (namely, any 3D polygon or 3D line drawing function). Other Fastgraph function calls can appear either inside or outside the paired fg_ddframe() calls. The fg_ddframe() function does nothing in DirectX programs that do not use Direct3D.

<< Prev

Next >>

Contents
Fastgraph Home Page

 

copyright 2001 Ted Gruber Software, Inc.