Previous: 4.37.2.117. SetVirtualMode procedure To the Table of Contents Next: 4.37.2.119. SetWriteMode procedure
4.37.2.117. SetVirtualMode procedure Table of Contents 4.37.2.119. SetWriteMode procedure

- 4.37.2.118. -
Table of Contents
4. Standard Units
4.37. Graph - Graph unit
4.37.2. Graph Unit Procedures and Functions
4.37.2.118. SetVisualPage procedure


4.37.2.118. SetVisualPage procedure

Targets: MS-DOS, Win32


Graph Unit

Sets the visual graphics page number.

Declaration:
procedure SetVisualPage(Page: DWORD; WaitForRetrace: Boolean);
Remarks:
Makes Page the visual graphics page.

Multiple pages are supported only by the SVGA graphics modes. With multiple graphics pages, a program can direct graphics output to an offscreen page, then quickly display the offscreen image by changing the visual page with the SetVisualPage procedure.

This technique is especially useful for animation. If the WaitForRetrace flag is not True, this routine will not sync to the vertical retrace. This flag is now part of the VBE 2.0 spec, and if you have a VBE 1.2 device you cannot be sure that the device will sync to the retrace anyway.

Win32 target:
Only two graphic pages are available for Graph unit.


Previous: 4.37.2.117. SetVirtualMode procedure To the Table of Contents Next: 4.37.2.119. SetWriteMode procedure
4.37.2.117. SetVirtualMode procedure Table of Contents 4.37.2.119. SetWriteMode procedure

- 4.37.2.118. -