Inheritance: System.Disposable, Texture2DI
Ejemplo n.º 1
0
 internal void disableActiveTextures(Texture2D texture)
 {
     for (int i = 0; i != currentPixelTextures.Length; ++i)
     {
         if (currentPixelTextures[i] == texture)
         {
             context.SetTexture(i, null);
             currentPixelTextures[i] = null;
         }
     }
 }
Ejemplo n.º 2
0
 internal void enable(Texture2D texture)
 {
     texture.texture.SetFilter(desc.filterMag, desc.filterMin, desc.filterMinMiped);
     texture.texture.SetWrap(desc.addressU, desc.addressV);
 }