Public Member Functions | |
Effect (const RenderEffect *effect) | |
Effect () | |
This constructor is only used when reading the RenderEffects from a bam file. | |
Effect (TypeHandle type) | |
This constructor makes an invalid Effect with no RenderEffect pointer; its purpose is just to make an object we can use to look up a particular type in the Effect set. | |
Effect (const Effect ©) | |
void | operator= (const Effect ©) |
bool | operator< (const Effect &other) const |
This is used by the Effects set to uniquify RenderEffects by type. | |
int | compare_to (const Effect &other) const |
Provides an indication of whether a particular effect is equivalent to another one, for purposes of generating unique RenderEffectss. | |
Public Attributes | |
TypeHandle | _type |
ConstPointerTo< RenderEffect > | _effect |
|
Definition at line 31 of file renderEffects.I. References INLINE. |
|
This constructor is only used when reading the RenderEffects from a bam file. At this point, the effect pointer is unknown. Definition at line 50 of file renderEffects.I. |
|
This constructor makes an invalid Effect with no RenderEffect pointer; its purpose is just to make an object we can use to look up a particular type in the Effect set.
Definition at line 68 of file renderEffects.I. |
|
Definition at line 82 of file renderEffects.I. |
|
Provides an indication of whether a particular effect is equivalent to another one, for purposes of generating unique RenderEffectss. This should compare all properties of the Effect, but it is important that the type is compared first, to be consistent with the ordering defined by operator <. Definition at line 139 of file renderEffects.I. |
|
This is used by the Effects set to uniquify RenderEffects by type. Only one RenderEffect of a given type is allowed in the set. This ordering must also match the ordering reported by compare_to(). Definition at line 116 of file renderEffects.I. References INLINE. |
|
Definition at line 96 of file renderEffects.I. References _effect, _type, TypeHandle::get_index(), and INLINE. |
|
Definition at line 141 of file renderEffects.h. Referenced by RenderEffects::operator<(), operator=(), RenderEffects::return_new(), and RenderEffects::safe_to_transform(). |
|
Definition at line 140 of file renderEffects.h. Referenced by Effect(), and operator=(). |