17 INLINE CullBinStateSorted::
20 CullBin(name, BT_state_sorted, gsg, draw_region_pcollector),
21 _objects(get_class_type())
28 INLINE CullBinStateSorted::ObjectData::
32 if (object->_munged_data ==
nullptr) {
35 _format =
object->_munged_data->get_format();
42 INLINE
bool CullBinStateSorted::ObjectData::
43 operator < (
const ObjectData &other)
const {
54 if (_format != other._format) {
55 return _format < other._format;
59 if (_object->_munged_data != other._object->_munged_data) {
60 return _object->_munged_data < other._object->_munged_data;
64 if (_object->_internal_transform != other._object->_internal_transform) {
65 return _object->_internal_transform < other._object->_internal_transform;
A collection of Geoms and their associated state, for a particular scene.
A lightweight class that represents a single element that may be timed and/or counted via stats.
The smallest atom of cull.
This represents a unique collection of RenderAttrib objects that correspond to a particular renderabl...
This is a base class for the GraphicsStateGuardian class, which is itself a base class for the variou...
int compare_sort(const RenderState &other) const
Returns -1, 0, or 1 according to the relative sorting of these two RenderStates, with regards to rend...