public String Texture { set { if (Path.GetExtension(value) == "") { _texture = General.content.Load(value); } else { if (Blending) _texture = TextureLoading.LoadTextureStream(value, General.device); else _texture = TextureLoading.LoadTextureStreamNoBlend(value, General.device); } TextureStr = value; FrameSize = new Point(_texture.Width, _texture.Height); ContainerSize = new Vector2(_texture.Width, _texture.Height); } }