28 if (bin_index >= 0 && bin_index < (
int)_bins.size() &&
29 _bins[bin_index] !=
nullptr) {
30 return _bins[bin_index];
32 return make_new_bin(bin_index);
39 INLINE
void CullResult::
52 INLINE
void CullResult::
53 check_flash_transparency(CPT(
RenderState) &state,
const LColor &color) {
55 if (_show_transparency) {
56 apply_flash_color(state, color);
const LColor & get_bin_flash_color(int bin_index) const
Returns the color that this bin has been configured to flash to, if configured.
A collection of Geoms and their associated state, for a particular scene.
bool get_bin_flash_active(int bin_index) const
Returns true if the bin with the given bin_index is configured to flash at a predetermined color (whe...
CullBin * get_bin(int bin_index)
Returns the CullBin associated with the indicated bin_index, or NULL if the bin_index is invalid.
This represents a unique collection of RenderAttrib objects that correspond to a particular renderabl...
This is a global object that maintains the collection of named CullBins in the world.