Panda3D
 All Classes Functions Variables Enumerations
standardMunger.I
1 // Filename: standardMunger.I
2 // Created by: drose (21Mar05)
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 ////////////////////////////////////////////////////////////////////
17 // Function: StandardMunger::get_gsg
18 // Access: Public
19 // Description: Returns a pointer to the GSG that created this
20 // munger.
21 ////////////////////////////////////////////////////////////////////
23 get_gsg() const {
25 }
26 
27 ////////////////////////////////////////////////////////////////////
28 // Function: StandardMunger::get_render_mode
29 // Access: Protected
30 // Description: Returns the render mode active on this munger.
31 // Intended for derived classes that may have to munge
32 // differently depending on render mode.
33 ////////////////////////////////////////////////////////////////////
34 INLINE RenderModeAttrib::Mode StandardMunger::
35 get_render_mode() const {
36  return (_render_mode != NULL) ? _render_mode->get_mode()
37  : RenderModeAttrib::M_filled;
38 }
Encapsulates all the communication with a particular instance of a given rendering backend...
GraphicsStateGuardianBase * get_gsg() const
Returns a pointer to the GSG that created this munger.
Definition: geomMunger.I:23
GraphicsStateGuardian * get_gsg() const
Returns a pointer to the GSG that created this munger.