23 return compose_impl(other);
40 return invert_compose_impl(other);
51 INLINE
int RenderAttrib::
57 if (type != other_type) {
62 return compare_to_impl(&other);
68 INLINE
size_t RenderAttrib::
88 INLINE
void RenderAttrib::
90 size_t hash = get_hash_impl();
103 return reg->
register_slot(type_handle, sort, default_attrib);
This is the base class for a number of render attributes (other than transform) that may be set on sc...
CPT(RenderAttrib) RenderAttrib
Returns a new RenderAttrib object that represents the composition of this attrib with the other attri...
static size_t add_hash(size_t start, const Key &key)
Adds the indicated key into a running hash.
int register_slot(TypeHandle type_handle, int sort, RenderAttrib *default_attrib)
Adds the indicated TypeHandle to the registry, if it is not there already, and returns a unique slot ...
static int register_slot(TypeHandle type_handle, int sort, RenderAttrib *default_attrib)
Adds the indicated TypeHandle to the registry, if it is not there already, and returns a unique slot ...
This class is used to associate each RenderAttrib with a different slot index at runtime,...
get_index
Returns the integer index associated with this TypeHandle.
TypeHandle is the identifier used to differentiate C++ class types.