Added RenderImage::Display() to CSFML and SFML.Net

git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1243 4e206d99-4929-0410-ac5d-dfc041789085
This commit is contained in:
LaurentGom 2009-10-18 08:03:58 +00:00
parent 531c54bb13
commit e9c042d060
8 changed files with 33 additions and 4 deletions

View file

@ -211,6 +211,16 @@ namespace SFML
sfRenderImage_Flush(This);
}
////////////////////////////////////////////////////////////
/// <summary>
/// Update the contents of the target image
/// </summary>
////////////////////////////////////////////////////////////
public void Display()
{
sfRenderImage_Display(This);
}
////////////////////////////////////////////////////////////
/// <summary>
/// Target image of the render image
@ -280,6 +290,9 @@ namespace SFML
[DllImport("csfml-graphics"), SuppressUnmanagedCodeSecurity]
static extern bool sfRenderImage_Flush(IntPtr This);
[DllImport("csfml-graphics"), SuppressUnmanagedCodeSecurity]
static extern bool sfRenderImage_Display(IntPtr This);
[DllImport("csfml-graphics"), SuppressUnmanagedCodeSecurity]
static extern void sfRenderImage_SetView(IntPtr This, IntPtr View);