00001 // Filename: shaderInput.cxx 00002 // Created by: jyelon (01Sep05) 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 "shaderInput.h" 00016 00017 TypeHandle ShaderInput::_type_handle; 00018 00019 //////////////////////////////////////////////////////////////////// 00020 // Function: ShaderInput::get_blank 00021 // Access: Public, Static 00022 // Description: Returns a static ShaderInput object with 00023 // name NULL, priority zero, type INVALID, and 00024 // all value-fields cleared. 00025 //////////////////////////////////////////////////////////////////// 00026 const ShaderInput *ShaderInput:: 00027 get_blank() { 00028 static CPT(ShaderInput) blank; 00029 if (blank == 0) { 00030 blank = new ShaderInput(NULL, 0); 00031 } 00032 return blank; 00033 } 00034 00035 //////////////////////////////////////////////////////////////////// 00036 // Function: ShaderInput::register_with_read_factory 00037 // Access: Public, Static 00038 // Description: 00039 //////////////////////////////////////////////////////////////////// 00040 void ShaderInput:: 00041 register_with_read_factory() { 00042 // IMPLEMENT ME 00043 } 00044