Panda3D
cullBinFixed.I
Go to the documentation of this file.
1 /**
2  * PANDA 3D SOFTWARE
3  * Copyright (c) Carnegie Mellon University. All rights reserved.
4  *
5  * All use of this software is subject to the terms of the revised BSD
6  * license. You should have received a copy of this license along
7  * with this source code in a file named "LICENSE."
8  *
9  * @file cullBinFixed.I
10  * @author drose
11  * @date 2002-05-29
12  */
13 
14 /**
15  *
16  */
17 INLINE CullBinFixed::
18 CullBinFixed(const std::string &name, GraphicsStateGuardianBase *gsg,
19  const PStatCollector &draw_region_pcollector) :
20  CullBin(name, BT_fixed, gsg, draw_region_pcollector)
21 {
22 }
23 
24 /**
25  *
26  */
27 INLINE CullBinFixed::ObjectData::
28 ObjectData(CullableObject *object, int draw_order) :
29  _object(object),
30  _draw_order(draw_order)
31 {
32 }
33 
34 /**
35  * Specifies the correct sort ordering for these objects.
36  */
37 INLINE bool CullBinFixed::ObjectData::
38 operator < (const ObjectData &other) const {
39  return _draw_order < other._draw_order;
40 }
A collection of Geoms and their associated state, for a particular scene.
Definition: cullBin.h:40
A lightweight class that represents a single element that may be timed and/or counted via stats.
The smallest atom of cull.
This is a base class for the GraphicsStateGuardian class, which is itself a base class for the variou...