00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019 #ifndef GRAPHICSTHREADINGMODEL_H
00020 #define GRAPHICSTHREADINGMODEL_H
00021
00022 #include "pandabase.h"
00023
00024
00025
00026
00027
00028
00029 class EXPCL_PANDA GraphicsThreadingModel {
00030 PUBLISHED:
00031 GraphicsThreadingModel(const string &model = string());
00032 INLINE GraphicsThreadingModel(const GraphicsThreadingModel ©);
00033 INLINE void operator = (const GraphicsThreadingModel ©);
00034
00035 string get_model() const;
00036 INLINE const string &get_cull_name() const;
00037 INLINE const string &get_draw_name() const;
00038 INLINE bool get_cull_sorting() const;
00039
00040 INLINE bool is_single_threaded() const;
00041 INLINE bool is_default() const;
00042 INLINE void output(ostream &out) const;
00043
00044 private:
00045 string _cull_name;
00046 string _draw_name;
00047 bool _cull_sorting;
00048 };
00049
00050 INLINE ostream &operator << (ostream &out, const GraphicsThreadingModel &threading_model);
00051
00052 #include "graphicsThreadingModel.I"
00053
00054 #endif