Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

panda/src/pgraph/cullBinAttrib.I

Go to the documentation of this file.
00001 // Filename: cullBinAttrib.I
00002 // Created by:  drose (01Mar02)
00003 //
00004 ////////////////////////////////////////////////////////////////////
00005 //
00006 // PANDA 3D SOFTWARE
00007 // Copyright (c) 2001, Disney Enterprises, Inc.  All rights reserved
00008 //
00009 // All use of this software is subject to the terms of the Panda 3d
00010 // Software license.  You should have received a copy of this license
00011 // along with this source code; you will also find a current copy of
00012 // the license at http://www.panda3d.org/license.txt .
00013 //
00014 // To contact the maintainers of this program write to
00015 // panda3d@yahoogroups.com .
00016 //
00017 ////////////////////////////////////////////////////////////////////
00018 
00019 
00020 ////////////////////////////////////////////////////////////////////
00021 //     Function: CullBinAttrib::Constructor
00022 //       Access: Private
00023 //  Description: Use CullBinAttrib::make() to construct a new
00024 //               CullBinAttrib object.
00025 ////////////////////////////////////////////////////////////////////
00026 INLINE CullBinAttrib::
00027 CullBinAttrib() {
00028   _draw_order = 0;
00029 }
00030 
00031 ////////////////////////////////////////////////////////////////////
00032 //     Function: CullBinAttrib::get_bin_name
00033 //       Access: Published
00034 //  Description: Returns the name of the bin this attribute specifies.
00035 //               If this is the empty string, it refers to the default
00036 //               bin.
00037 ////////////////////////////////////////////////////////////////////
00038 INLINE const string &CullBinAttrib::
00039 get_bin_name() const {
00040   return _bin_name;
00041 }
00042 
00043 ////////////////////////////////////////////////////////////////////
00044 //     Function: CullBinAttrib::get_draw_order
00045 //       Access: Published
00046 //  Description: Returns the draw order this attribute specifies.
00047 //               Some bins (in particular, CullBinFixed bins) use this
00048 //               to further specify the order in which objects should
00049 //               be rendered.
00050 ////////////////////////////////////////////////////////////////////
00051 INLINE int CullBinAttrib::
00052 get_draw_order() const {
00053   return _draw_order;
00054 }

Generated on Fri May 2 00:41:23 2003 for Panda by doxygen1.3