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