private bool LoadTexture(SharpDX.Direct3D11.Device device, string textureFileName) { Texture = new DTexture(); return(Texture.Initialize(device, textureFileName)); }
private void ReleaseTexture() { Texture?.ShutDown(); Texture = null; }