CNiGraph3D::Use3DHardwareAcceleration

3D Graph

Class
CNiGraph3D::
Use3DHardwareAcceleration
Base ClassesData ItemsConstructorsDestructorsFunctionsGo to hierarchy chart    Prev page: TrackModeNext page: ViewAutoDistance    
Public Data Item Declared in:
NiGraph3d.h

'Declaration' icon -- Shortcut to top of page. Declaration

bool Use3DHardwareAcceleration;

'Description' icon -- Shortcut to top of page. Description

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

Notes:

  1. 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.
  2. The following list summarizes the advantages and disadvantages of enabling and disabling this option.
  • Enabled Advantages - faster rendering, uses less memory.
  • Enabled Disadvantages - always renders the graph, even for simple screen updates.
  • Disabled Advantages - fast redraw for simple screen updates.
  • Disabled Disadvantages - uses more memory, slower rendering.

'See Also' icon -- Shortcut to top of page. See Also