textureContext.cxx
00001 // Filename: textureContext.cxx
00002 // Created by:  drose (07Oct99)
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 "textureContext.h"
00016 
00017 TypeHandle TextureContext::_type_handle;
00018 
00019 ////////////////////////////////////////////////////////////////////
00020 //     Function: TextureContext::output
00021 //       Access: Public, Virtual
00022 //  Description: 
00023 ////////////////////////////////////////////////////////////////////
00024 void TextureContext::
00025 output(ostream &out) const {
00026   out << *get_texture() << ", " << get_data_size_bytes();
00027 }
00028 
00029 ////////////////////////////////////////////////////////////////////
00030 //     Function: TextureContext::write
00031 //       Access: Published, Virtual
00032 //  Description: 
00033 ////////////////////////////////////////////////////////////////////
00034 void TextureContext::
00035 write(ostream &out, int indent_level) const {
00036   SavedContext::write(out, indent_level);
00037 }