open_toontown_panda3d/panda/src/sgraph/renderTraverser.I

38 lines
1.1 KiB
Plaintext

// Filename: renderTraverser.I
// Created by: drose (12Apr00)
//
////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////
// Function: RenderTraverser::Constructor
// Access: Public
// Description:
////////////////////////////////////////////////////////////////////
INLINE RenderTraverser::
RenderTraverser(GraphicsStateGuardian *gsg, TypeHandle graph_type) :
_gsg(gsg),
_graph_type(graph_type)
{
}
////////////////////////////////////////////////////////////////////
// Function: RenderTraverser::get_gsg
// Access: Public
// Description:
////////////////////////////////////////////////////////////////////
INLINE GraphicsStateGuardian *RenderTraverser::
get_gsg() const {
return _gsg;
}
////////////////////////////////////////////////////////////////////
// Function: RenderTraverser::get_graph_type
// Access: Public
// Description:
////////////////////////////////////////////////////////////////////
INLINE TypeHandle RenderTraverser::
get_graph_type() const {
return _graph_type;
}