internal void AddRenderItems(RenderQueue rq) { if (renderItems.HasElements()) { for (int i = 0; i < renderItems.Length; i++) { rq.Add(renderItems[i]); } } }
internal void RemoveRenderItems(RenderQueue rq) { if (renderItems.HasElements() && rq.Count > 0) { for (int i = 0; i < renderItems.Length; i++) { rq.Remove(renderItems[i]); } } }
/// <summary> /// Flag that the renderer has changed in some way so we need to reconsider it for culling. /// </summary> internal void ReconsiderForCulling() { RenderQueue.ReconsiderForCulling(this); }