Tao.Sdl SDK Documentation |
|
Sdl.SDL_LoadBMP_RW Method
Load a surface from a seekable SDL data source (memory or file.)
[Visual Basic]
Public Shared Function SDL_LoadBMP_RW( _
ByVal
src As
IntPtr, _
ByVal
freesrc As
Integer _
) As
IntPtr
Parameters
-
src
- IntPtr to SDL_Surface
-
freesrc
-
Return Value
Remarks
If 'freesrc' is non-zero, the source will be closed after being read. Returns the new surface, or NULL if there was an error. The new surface should be freed with SDL_FreeSurface().
Binds to C-function call in SDL_video.h:
SDL_Surface * SDLCALL SDL_LoadBMP_RW(SDL_RWops *src, int freesrc)
See Also
Sdl Class | Tao.Sdl Namespace