//////////////////////////////////////////////////////////// /// <summary> /// Update a texture from the contents of a render-window /// </summary> /// <param name="window">Render-window to copy to the texture</param> /// <param name="x">X offset in the texture where to copy the source pixels</param> /// <param name="y">Y offset in the texture where to copy the source pixels</param> //////////////////////////////////////////////////////////// public void Update(RenderWindow window, uint x, uint y) { sfTexture_updateFromRenderWindow(CPointer, window.CPointer, x, y); }
//////////////////////////////////////////////////////////// /// <summary> /// Update a texture from the contents of a render-window /// </summary> /// <param name="window">Render-window to copy to the texture</param> //////////////////////////////////////////////////////////// public void Update(RenderWindow window) { Update(window, 0, 0); }