Apply() public method

public Apply ( RenderTarget rt ) : void
rt RenderTarget
return void
Ejemplo n.º 1
0
        /// <summary>
        /// Called once per frame, right after Update. Avoid putting game login in here.
        /// </summary>
        /// <param name="rt"></param>
        public virtual void Draw(RenderTarget rt)
        {
            Camera.Apply(rt);

            if (Map != null)
            {
                Map.Draw(rt);
            }

            Entities.Draw(rt);
        }
Ejemplo n.º 2
0
 internal void DrawInternal(RenderTarget rt)
 {
     Camera.Apply(rt);
     Draw(rt);
 }