public Quad CreateQuad(Effect effect) { Quad quad = Quads.New(); quad.Effect = effect; Quads.Sort(Quad.QuadComparer); return(quad); }
public Quad CreateQuad(Effect effect, Texture2D texture) { Quad quad = Quads.New(); quad.Effect = effect; quad.SetTexture(texture); Quads.Sort(Quad.QuadComparer); return(quad); }