PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University. More...
#include "standardMunger.h"
#include "config_gobj.h"
#include "displayRegion.h"
#include "graphicsStateGuardian.h"
#include "lightAttrib.h"
#include "materialAttrib.h"
#include "renderState.h"
Go to the source code of this file.
Functions | |
CPT (GeomVertexData) StandardMunger | |
Given a source GeomVertexData, converts it as necessary for rendering. More... | |
CPT (RenderState) StandardMunger | |
Given an input state, returns the munged state. More... | |
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."
Definition in file standardMunger.cxx.
|
inline |
Given a source GeomVertexData, converts it as necessary for rendering.
Creates a context for the geom on the particular GSG, if it does not already exist.
Returns the new (or old) GeomContext. This assumes that the GraphicsStateGuardian is the currently active rendering context and that it is ready to accept new geoms. If this is not necessarily the case, you should use prepare() instead.
Normally, this is not called directly except by the GraphicsStateGuardian; a geom does not need to be explicitly prepared by the user before it may be rendered.
Definition at line 113 of file standardMunger.cxx.
CPT | ( | RenderState | ) |
Given an input state, returns the munged state.
Definition at line 343 of file standardMunger.cxx.