public Texture_Control(ModelTexture.Texture texture) { InitializeComponent(); textureControlVM = new Texture_VM(texture); DataContext = textureControlVM; }
public KingdomTexture(ModelTexture.Texture texture, GraphicsDevice graphics) { ModelTexture = texture; Texture2D = texture.CreateTexture(graphics); }
public Texture_VM(ModelTexture.Texture texture) { this.texture = texture; bitmapImage = texture.GetBimapSource(); }