internal virtual void AddRenderingInstruction(RenderInstruction renderInstruction) { this.renderInstructions.Add(renderInstruction); }
private bool IsVisible(RenderInstruction renderInstruction) { return(this.categories == null || renderInstruction.Category == null || this.categories.Contains(renderInstruction.Category)); }