00001 // Filename: pipeline.cxx 00002 // Created by: drose (21Feb02) 00003 // 00004 //////////////////////////////////////////////////////////////////// 00005 // 00006 // PANDA 3D SOFTWARE 00007 // Copyright (c) 2001, Disney Enterprises, Inc. All rights reserved 00008 // 00009 // All use of this software is subject to the terms of the Panda 3d 00010 // Software license. You should have received a copy of this license 00011 // along with this source code; you will also find a current copy of 00012 // the license at http://www.panda3d.org/license.txt . 00013 // 00014 // To contact the maintainers of this program write to 00015 // panda3d@yahoogroups.com . 00016 // 00017 //////////////////////////////////////////////////////////////////// 00018 00019 #include "pipeline.h" 00020 00021 Pipeline *Pipeline::_render_pipeline = (Pipeline *)NULL; 00022 00023 //////////////////////////////////////////////////////////////////// 00024 // Function: Pipeline::Constructor 00025 // Access: Public 00026 // Description: 00027 //////////////////////////////////////////////////////////////////// 00028 Pipeline:: 00029 Pipeline(const string &name) : 00030 Namable(name) 00031 { 00032 } 00033 00034 //////////////////////////////////////////////////////////////////// 00035 // Function: Pipeline::Destructor 00036 // Access: Public, Virtual 00037 // Description: 00038 //////////////////////////////////////////////////////////////////// 00039 Pipeline:: 00040 ~Pipeline() { 00041 } 00042 00043 //////////////////////////////////////////////////////////////////// 00044 // Function: Pipeline::cycle 00045 // Access: Public, Virtual 00046 // Description: Flows all the pipeline data down to the next stage. 00047 //////////////////////////////////////////////////////////////////// 00048 void Pipeline:: 00049 cycle() { 00050 } 00051 00052 //////////////////////////////////////////////////////////////////// 00053 // Function: Pipeline::make_render_pipeline 00054 // Access: Private, Static 00055 // Description: 00056 //////////////////////////////////////////////////////////////////// 00057 void Pipeline:: 00058 make_render_pipeline() { 00059 nassertv(_render_pipeline == (Pipeline *)NULL); 00060 _render_pipeline = new Pipeline("render"); 00061 } 00062