Tao.Sdl SDK Documentation

Sdl.SDL_LockYUVOverlay Method 

Lock an overlay

[Visual Basic]
Public Shared Function SDL_LockYUVOverlay( _
   ByVal overlay As IntPtr _
) As Integer
[C#]
public static int SDL_LockYUVOverlay(
   IntPtr overlay
);

Parameters

overlay

Return Value

Returns 0 on success, or -1 on an error

Remarks

Much the same as SDL_LockSurface, SDL_LockYUVOverlay locks the overlay for direct access to pixel data.

Binds to C-function call in SDL_video.h:

int SDL_LockYUVOverlay(SDL_Overlay *overlay)
            

See Also

Sdl Class | Tao.Sdl Namespace | SDL_UnlockYUVOverlay | SDL_CreateYUVOverlay | Sdl.SDL_Overlay