/// <summary> /// Initializes a new DirectXGraphics class. /// </summary> public DirectXGraphics() { ResourceManager = new DirectXResourceManager(); ContentProcessors = new IContentProcessor[] { new DirectXFontContentProcessor(), new DirectXPenContentProcessor(), new DirectXTextureContentProcessor() }; SmoothingMode = SmoothingMode.AntiAlias; InterpolationMode = InterpolationMode.Linear; _graphicsDevice = SGL.QueryComponents <GraphicsDevice>(); }
/// <summary> /// Initializes a new DirectXGraphics class. /// </summary> public DirectXGraphics() { ResourceManager = new DirectXResourceManager(); ContentProcessors = new IContentProcessor[] {new DirectXFontContentProcessor(), new DirectXPenContentProcessor(), new DirectXTextureContentProcessor()}; SmoothingMode = SmoothingMode.AntiAlias; InterpolationMode = InterpolationMode.Linear; _graphicsDevice = SGL.QueryComponents<GraphicsDevice>(); }