示例#1
0
 public void rebindTexture()
 {
     if (GraphicsContext.CurrentContext == null)
     {
         return;
     }
     if (imageTextured == null)
     {
         imageTextured = new TextureImage((Bitmap)image);
     }
     else
     {
         imageTextured.rebindBitmap((Bitmap)image);
     }
 }