C# Class RedBadger.Xpf.Adapters.Xna.Graphics.PrimitivesService

Provides primitives that XPF requires to render correctly.
Inheritance: IPrimitivesService
Afficher le fichier Open project: redbadger/XPF Class Usage Examples

Méthodes publiques

Méthode Description
PrimitivesService ( GraphicsDevice graphicsDevice ) : Microsoft.Xna.Framework

Initializes a new instance of the PrimitivesService.

Private Methods

Méthode Description
CreateSinglePixel ( GraphicsDevice graphicsDevice, int width, int height, Microsoft.Xna.Framework.Color color ) : Microsoft.Xna.Framework.Graphics.Texture2D

Method Details

PrimitivesService() public méthode

Initializes a new instance of the PrimitivesService.
public PrimitivesService ( GraphicsDevice graphicsDevice ) : Microsoft.Xna.Framework
graphicsDevice GraphicsDevice An XNA GraphicsDevice that can be used to generate primitives.
Résultat Microsoft.Xna.Framework