Tao.Sdl SDK Documentation

Sdl.SDL_GetVideoSurface Method 

This function returns a pointer to the current display surface.

[Visual Basic]
Public Shared Function SDL_GetVideoSurface() As IntPtr
[C#]
public static IntPtr SDL_GetVideoSurface();

Return Value

It returns a pointer to a SDL_Surface struct.

Remarks

If SDL is doing format conversion on the display surface, this function returns the publicly visible surface, not the real video surface.

Binds to C-function call in SDL_video.h:

extern DECLSPEC SDL_Surface * SDLCALL SDL_GetVideoSurface(void)

See Also

Sdl Class | Tao.Sdl Namespace | Sdl.SDL_Surface