Пример #1
0
 private bool LoadTexture(SharpDX.Direct3D11.Device device, string textureFileName)
 {
     Texture = new DTexture();
     return(Texture.Initialize(device, textureFileName));
 }
Пример #2
0
 private void ReleaseTexture()
 {
     Texture?.ShutDown();
     Texture = null;
 }