Sharpex2D.Rendering.GraphicsDevice.GraphicsDevice C# (CSharp) Method

GraphicsDevice() public method

Initializes a new GraphicsDeivce.
public GraphicsDevice ( RenderTarget renderTarget ) : System
renderTarget Sharpex2D.Surface.RenderTarget The RenderTarget.
return System
        public GraphicsDevice(RenderTarget renderTarget)
        {
            RenderTarget = renderTarget;
        }