00001 // Filename: vertexBufferContext.cxx 00002 // Created by: drose (17Mar05) 00003 // 00004 //////////////////////////////////////////////////////////////////// 00005 // 00006 // PANDA 3D SOFTWARE 00007 // Copyright (c) Carnegie Mellon University. All rights reserved. 00008 // 00009 // All use of this software is subject to the terms of the revised BSD 00010 // license. You should have received a copy of this license along 00011 // with this source code in a file named "LICENSE." 00012 // 00013 //////////////////////////////////////////////////////////////////// 00014 00015 #include "vertexBufferContext.h" 00016 00017 TypeHandle VertexBufferContext::_type_handle; 00018 00019 //////////////////////////////////////////////////////////////////// 00020 // Function: VertexBufferContext::output 00021 // Access: Public, Virtual 00022 // Description: 00023 //////////////////////////////////////////////////////////////////// 00024 void VertexBufferContext:: 00025 output(ostream &out) const { 00026 out << *get_data() << ", " << get_data_size_bytes(); 00027 } 00028 00029 //////////////////////////////////////////////////////////////////// 00030 // Function: VertexBufferContext::write 00031 // Access: Published, Virtual 00032 // Description: 00033 //////////////////////////////////////////////////////////////////// 00034 void VertexBufferContext:: 00035 write(ostream &out, int indent_level) const { 00036 SavedContext::write(out, indent_level); 00037 }