open_toontown_panda3d/panda/src/gobj/shaderContext.I

35 lines
1.1 KiB
Plaintext
Executable File

// Filename: shaderContext.I
// Created by: jyelon (01Sep05)
//
////////////////////////////////////////////////////////////////////
//
// PANDA 3D SOFTWARE
// Copyright (c) Carnegie Mellon University. All rights reserved.
//
// All use of this software is subject to the terms of the revised BSD
// license. You should have received a copy of this license along
// with this source code in a file named "LICENSE."
//
////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////
// Function: ShaderContext::Constructor
// Access: Public
// Description:
////////////////////////////////////////////////////////////////////
INLINE ShaderContext::
ShaderContext(Shader *se) :
_shader(se)
{
}
////////////////////////////////////////////////////////////////////
// Function: ShaderContext::get_expansion
// Access: Published
// Description:
////////////////////////////////////////////////////////////////////
INLINE Shader *ShaderContext::
get_shader() const {
return _shader;
}