Use3DHardwareAcceleration Property

3D Graph Control

Use3DHardwareAcceleration Property

Syntax

CWGraph3D.Use3DHardwareAcceleration

Data Type

Boolean

Purpose

Determines if the 3D Graph control renders directly to the display adapter.

Remarks

When this property is set to True, the 3D Graph control renders directly to the display adapter, which maximizes rendering performance if your adapter supports OpenGL hardware acceleration. When this property is set to False, the 3D Graph control renders 3D graphs to an off-screen frame buffer, which is then copied to the screen. The 3D Graph control caches this frame buffer and updates it only when the graph needs to be rendered (such as adding a plot or changing the view position). For complex 3D graphs, the time to render the image into the frame buffer greatly exceeds the time to copy the frame buffer to the screen. As a result, simple screen updates that do not require the graph to re-render (such as scrolling the page) execute very quickly.

See Also

Accelerated OpenGL Graphics Adapter (concept)