using Microsoft.Xna.Framework.Graphics; namespace CalamityMod.Graphics.Primitives { /// /// Use to sucessfully render primitives with pixelation with an NPC or Projectile. /// public interface IPixelatedPrimitiveRenderer { /// /// The layer to render the primitive(s) to. /// PixelationPrimitiveLayer LayerToRenderTo => PixelationPrimitiveLayer.BeforeProjectiles; /// /// Render primitives that use pixelation here. /// void RenderPixelatedPrimitives(SpriteBatch spriteBatch); } }