Click or drag to resize
CanvasSwapChainPresent Method (Int32)
Presents a rendered image, using the specified sync interval.

Namespace:  Microsoft.Graphics.Canvas
Assembly:  Microsoft.Graphics.Canvas (in Microsoft.Graphics.Canvas.dll) Version: 0.0.0.0
Syntax
C#
public void Present(
	int syncInterval
)

Parameters

syncInterval
Type: SystemInt32
Remarks

Sync interval determines how the swap chain synchronizes with display vertical blank:

0 - cancel any remaining time on the previously presented frame, and discard this frame if a newer frame is queued.

1,2,3,4 - synchronize presentation for at least n vertical blanks.

Values greater than 4 are not supported.

For instance on a 60hz display, specifying a sync interval of 2 limits the swap chain to present at a maximum of 30 fps.

See Also