Panda3D

Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
UniqueEggMaterials Class Reference

An STL function object for sorting materials into order by properties. More...

`#include "eggMaterial.h"`

## Public Member Functions
| UniqueEggMaterials (int eq=~0)
bool | operator() (const EggMaterial *t1, const EggMaterial *t2) const

## Public Attributes
int | _eq

## Detailed Description

An STL function object for sorting materials into order by properties.

Returns true if the two referenced EggMaterial pointers are in sorted order, false otherwise.

Definition at line 154 of file eggMaterial.h.

## Constructor & Destructor Documentation

## ◆ UniqueEggMaterials()

UniqueEggMaterials::UniqueEggMaterials | ( | int | eq = ~0 | ) |
| inline

Definition at line 394 of file eggMaterial.I.

## Member Function Documentation

## ◆ operator()()

bool UniqueEggMaterials::operator() | ( | const EggMaterial * | t1,
|  | const EggMaterial * | t2 ) const
| inline

Definition at line 401 of file eggMaterial.I.

## Member Data Documentation

## ◆ _eq

int UniqueEggMaterials::_eq

Definition at line 159 of file eggMaterial.h.

The documentation for this class was generated from the following files:

- panda/src/egg/eggMaterial.h
- panda/src/egg/eggMaterial.I