BTInvalid | (BinType) |
BTUnsorted | (BinType) |
BTStateSorted | (BinType) |
BTBackToFront | (BinType) |
BTFrontToBack | (BinType) |
BTFixed | (BinType) |
addBin int CullBinManager::add_bin(string const &name, CullBinEnums::BinType type, int sort); Description: Defines a new bin with the indicated name, and returns the new bin_index. If there is already a bin with the same name returns its bin_index if it had the same properties; otherwise, reports an error and returns -1. |
findBin int CullBinManager::find_bin(string const &name) const; Description: Returns the bin_index associated with the bin of the given name, or -1 if no bin has that name. |
getBin int CullBinManager::get_bin(int n) const; Description: Returns the bin_index of the nth bin in the set, where n is a number between 0 and get_num_bins(). This returns the list of bin_index numbers, in sorted order (that is, in the order in which the bins should be rendered). |
getBinActive bool CullBinManager::get_bin_active(int bin_index) const; Description: Returns the active flag of the bin with the indicated bin_index (where bin_index was retrieved by get_bin() or find_bin()). When a bin is marked inactive, all geometry assigned to it is not rendered. Description: Returns the active flag of the bin with the indicated name. |
getBinName string CullBinManager::get_bin_name(int bin_index) const; Description: Returns the name of the bin with the indicated bin_index (where bin_index was retrieved by get_bin() or find_bin()). The bin's name may not be changed during the life of the bin. |
getBinSort int CullBinManager::get_bin_sort(int bin_index) const; Description: Returns the sort order of the bin with the indicated bin_index (where bin_index was retrieved by get_bin() or find_bin()). The bins are rendered in increasing order by their sort order; this number may be changed from time to time to reorder the bins. Description: Returns the sort order of the bin with the indicated name. |
getBinType CullBinEnums::BinType CullBinManager::get_bin_type(int bin_index) const; Description: Returns the type of the bin with the indicated bin_index (where bin_index was retrieved by get_bin() or find_bin()). Description: Returns the type of the bin with the indicated name. |
getGlobalPtr static CullBinManager *CullBinManager::get_global_ptr(void); Description: Returns the pointer to the global CullBinManager object. |
getNumBins int CullBinManager::get_num_bins(void) const; Description: Returns the number of bins in the world. |
removeBin void CullBinManager::remove_bin(int bin_index); Description: Permanently removes the indicated bin. This operation is not protected from the pipeline and will disturb whatever is currently rendering in draw. You should not call this during the normal course of rendering a frame; it is intended only as an aid to development, to allow the developer to interactively fiddle with the set of bins. |
setBinActive void CullBinManager::set_bin_active(int bin_index, bool active); Description: Changes the active flag of the bin with the indicated bin_index (where bin_index was retrieved by get_bin() or find_bin()). When a bin is marked inactive, all geometry assigned to it is not rendered. Description: Changes the active flag of the bin with the indicated name. |
setBinSort void CullBinManager::set_bin_sort(int bin_index, int sort); Description: Changes the sort order of the bin with the indicated bin_index (where bin_index was retrieved by get_bin() or find_bin()). The bins are rendered in increasing order by their sort order; this number may be changed from time to time to reorder the bins. Description: Changes the sort order of the bin with the indicated name. |
setBinType void CullBinManager::set_bin_type(int bin_index, CullBinEnums::BinType type); Description: Changes the type of the bin with the indicated bin_index (where bin_index was retrieved by get_bin() or find_bin()). The change might be effective immediately, or it might take place next frame, depending on the bin type. Description: Changes the type of the bin with the indicated name. |
write void CullBinManager::write(ostream &out) const; Description: |