CNiGraph3D::CNiGraph3D

3D Graph

Class
CNiGraph3D::
CNiGraph3D()
Base ClassesData ItemsConstructorsDestructorsFunctionsGo to hierarchy chart    Prev page: ClearDataNext page: ~CNiGraph3D    
Protected Constructor Declared in:
NiGraph3d.h

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

CNiGraph3D(
    CNiInterface::ThreadAccess option = CNiInterface::MultipleThreadsWithCaching);

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

Shortcut to top of page. Parameters

CNiInterface::ThreadAccess option = CNiInterface::MultipleThreadsWithCaching

Specifies how the object can be accessed from multiple threads. The following list includes valid thread access options.

  • CNiInterface::SingleThread
  • CNiInterface::MultipleThreads
  • CNiInterface::MultipleThreadsWithCaching

The thread access specifies the level of multithread support that the object provides. If you do not need to access the object from a thread thread other than the one that created it, specify CNiInterface::SingleThread to optimize performance.

Notes:

1. CNiInterface::SingleThread - no multithread support. You can use the object only from the thread in which you created the object or attached the interface pointer.

2. CNiInterface::MultipleThreads - full multithread support. You can use the object from any thread. You can destroy the object from any thread.

3. CNiInterface::MultipleThreadsWithCaching - full multithread support with caching. You can use the object from any thread. The object internally caches the interface pointer, when possible, to increase performance. A consequence of the caching is that you must destroy the object or detach the interface pointer in the same thread in which you constructed the object or attached the interface pointer.

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