Panda3D
Main Page
Classes
Files
File List
All
Classes
Functions
Variables
Enumerations
panda
src
gobj
shaderContext.I
1
// Filename: shaderContext.I
2
// Created by: jyelon (01Sep05)
3
//
4
////////////////////////////////////////////////////////////////////
5
//
6
// PANDA 3D SOFTWARE
7
// Copyright (c) Carnegie Mellon University. All rights reserved.
8
//
9
// All use of this software is subject to the terms of the revised BSD
10
// license. You should have received a copy of this license along
11
// with this source code in a file named "LICENSE."
12
//
13
////////////////////////////////////////////////////////////////////
14
15
////////////////////////////////////////////////////////////////////
16
// Function: ShaderContext::Constructor
17
// Access: Public
18
// Description:
19
////////////////////////////////////////////////////////////////////
20
INLINE ShaderContext::
21
ShaderContext(
Shader
*se) :
22
_shader(se)
23
{
24
}
25
26
////////////////////////////////////////////////////////////////////
27
// Function: ShaderContext::get_expansion
28
// Access: Published
29
// Description:
30
////////////////////////////////////////////////////////////////////
31
INLINE
Shader
*ShaderContext::
32
get_shader()
const
{
33
return
_shader;
34
}
Shader
Definition:
shader.h:50
Generated on Mon Feb 1 2016 13:44:27 for Panda3D by
1.8.5