public void Update() { TextureUtil.UpdateTextureFromBitmap(m_texture, m_bitmap); m_width = m_bitmap.Width; m_height = m_bitmap.Height; }