Apply() 공개 메소드

public Apply ( RenderTarget rt ) : void
rt RenderTarget
리턴 void
예제 #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);
        }
예제 #2
0
 internal void DrawInternal(RenderTarget rt)
 {
     Camera.Apply(rt);
     Draw(rt);
 }