Panda3D
 All Classes Functions Variables Enumerations
shaderContext.I
00001 // Filename: shaderContext.I
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 ////////////////////////////////////////////////////////////////////
00016 //     Function: ShaderContext::Constructor
00017 //       Access: Public
00018 //  Description:
00019 ////////////////////////////////////////////////////////////////////
00020 INLINE ShaderContext::
00021 ShaderContext(Shader *se) :
00022   _shader(se)
00023 {
00024 }
00025 
00026 ////////////////////////////////////////////////////////////////////
00027 //     Function: ShaderContext::get_expansion
00028 //       Access: Published
00029 //  Description:
00030 ////////////////////////////////////////////////////////////////////
00031 INLINE Shader *ShaderContext::
00032 get_shader() const {
00033   return _shader;
00034 }
 All Classes Functions Variables Enumerations