17 INLINE RenderEffects::Effect::
19 _type(effect->get_type()),
28 INLINE RenderEffects::Effect::
37 INLINE RenderEffects::Effect::
47 INLINE RenderEffects::Effect::
48 Effect(
const Effect ©) :
57 INLINE
void RenderEffects::Effect::
58 operator = (
const Effect ©) {
60 _effect = copy._effect;
68 INLINE
bool RenderEffects::Effect::
69 operator < (
const Effect &other)
const {
70 return _type < other._type;
79 INLINE
int RenderEffects::Effect::
80 compare_to(
const Effect &other)
const {
81 if (_type != other._type) {
82 return _type.get_index() - other._type.get_index();
84 if (_effect != other._effect) {
85 return _effect < other._effect ? -1 : 1;
95 return _effects.
empty();
104 return _effects.
size();
112 nassertr(n < _effects.
size(),
nullptr);
113 return _effects[n]._effect;
121 return _effects.
size();
129 nassertr(n < _effects.
size(),
nullptr);
130 return _effects[n]._effect;
150 if ((_flags & F_checked_decal) == 0) {
155 return ((_flags & F_has_decal) != 0);
167 if ((_flags & F_checked_show_bounds) == 0) {
172 return ((_flags & F_has_show_bounds) != 0);
181 if ((_flags & F_checked_show_bounds) == 0) {
186 return ((_flags & F_has_show_tight_bounds) != 0);
195 if ((_flags & F_checked_cull_callback) == 0) {
200 return ((_flags & F_has_cull_callback) != 0);
210 if ((_flags & F_checked_adjust_transform) == 0) {
215 return ((_flags & F_has_adjust_transform) != 0);