VR-Forces 4.10 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtIndirectProcessRegisterModelQueueAsync.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2020 VT-MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #pragma once
11 
12 #include <vrvOsg/vrvOsg.h>
13 
14 #include <osg/ref_ptr>
15 
16 #include <tbb/task.h>
17 
18 namespace makVrv
19 {
20  class DtIndirectGeometryRegistrar;
21 
23  {
24  public:
27 
29  virtual tbb::task* execute();
30 
31  protected:
32  //The task needs to hold a reference so that the registar is not deleted while the task is still running.
34  };
35 }
36 
Definition: DtIndirectProcessRegisterModelQueueAsync.h:22
osg::ref_ptr< DtIndirectGeometryRegistrar > myRegistar
Definition: DtIndirectProcessRegisterModelQueueAsync.h:33
Indirect geometry can have multiple models and their corresponding ids registered in it...
Definition: DtIndirectGeometryRegistrar.h:106
virtual tbb::task * execute()
runs the task
Contains DLL export macros.
DtIndirectProcessRegisterModelQueueAsync(DtIndirectGeometryRegistrar *registar)

Document ID: Generated on Tue Sep 21 17:42:52 EDT 2021 from SVN revision 234861
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)