00001 // Filename: frameBufferStack.I 00002 // Created by: drose (06Oct99) 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 //////////////////////////////////////////////////////////////////// 00020 // Function: FrameBufferStack::Constructor 00021 // Access: Public 00022 // Description: 00023 //////////////////////////////////////////////////////////////////// 00024 INLINE FrameBufferStack:: 00025 FrameBufferStack() { 00026 _stack_level = -1; 00027 } 00028 00029 //////////////////////////////////////////////////////////////////// 00030 // Function: FrameBufferStack::Destructor 00031 // Access: Public 00032 // Description: 00033 //////////////////////////////////////////////////////////////////// 00034 INLINE FrameBufferStack:: 00035 ~FrameBufferStack() { 00036 } 00037 00038 //////////////////////////////////////////////////////////////////// 00039 // Function: FrameBufferStack::Copy Constructor 00040 // Access: Public 00041 // Description: 00042 //////////////////////////////////////////////////////////////////// 00043 INLINE FrameBufferStack:: 00044 FrameBufferStack(const FrameBufferStack ©) : 00045 _frame_buffer(copy._frame_buffer), 00046 _stack_level(copy._stack_level) 00047 { 00048 } 00049 00050 //////////////////////////////////////////////////////////////////// 00051 // Function: FrameBufferStack::Copy Operator 00052 // Access: Public 00053 // Description: 00054 //////////////////////////////////////////////////////////////////// 00055 INLINE void FrameBufferStack:: 00056 operator =(const FrameBufferStack ©) { 00057 _frame_buffer = copy._frame_buffer; 00058 _stack_level = copy._stack_level; 00059 }