public static void Draw(Pass pass) { if (pass.drawShadows) { Shadows.Draw(pass); } if (pass.drawMask) { Masks.Draw(pass); } }