getArrayChain DeletedBufferChain *RenderAttribRegistry::get_array_chain(void) const; Description: Returns the DeletedBufferChain object that may be used to allocated appropriately-sized arrays of RenderState::Attribute objects. |
getGlobalPtr static RenderAttribRegistry *RenderAttribRegistry::get_global_ptr(void); Description: |
getMaxSlots int RenderAttribRegistry::get_max_slots(void) const; Description: Returns the maximum number that any slot number is allowed to grow. Actually, this number will be one higher than the highest possible slot number. This puts an upper bound on the number of RenderAttrib slots that may be allocated, and allows other code to define an array of slots. This number will not change during the lifetime of the application. |
getNumSlots int RenderAttribRegistry::get_num_slots(void) const; Description: Returns the number of RenderAttrib slots that have been allocated. This is one more than the highest slot number in use. |
getNumSortedSlots int RenderAttribRegistry::get_num_sorted_slots(void) const; Description: Returns the number of entries in the sorted_slots list. |
getSlot int RenderAttribRegistry::get_slot(TypeHandle type_handle) const; Description: Returns the slot number assigned to the indicated TypeHandle, or 0 if no slot number has been assigned. |
getSlotDefault ConstPointerTo< RenderAttrib > RenderAttribRegistry::get_slot_default(int slot) const; Description: Returns the default RenderAttrib object associated with slot n. This is the attrib that should be applied in the absence of any other attrib of this type. |
getSlotSort int RenderAttribRegistry::get_slot_sort(int slot) const; Description: Returns the sort number associated with slot n. |
getSlotType TypeHandle RenderAttribRegistry::get_slot_type(int slot) const; Description: Returns the TypeHandle associated with slot n. |
getSortedSlot int RenderAttribRegistry::get_sorted_slot(int n) const; Description: Returns the nth slot in sorted order. By traversing this list, you will retrieve all the slot numbers in order according to their registered sort value. |
setSlotSort void RenderAttribRegistry::set_slot_sort(int slot, int sort); Description: Changes the sort number associated with slot n. |