Tao.Sdl SDK Documentation

Sdl.SDL_AllocSurface Method 

Same as SDL_CreateRGBSurface

[Visual Basic]
Public Shared Function SDL_AllocSurface( _
   ByVal flags As Integer, _
   ByVal width As Integer, _
   ByVal height As Integer, _
   ByVal depth As Integer, _
   ByVal Rmask As Integer, _
   ByVal Gmask As Integer, _
   ByVal Bmask As Integer, _
   ByVal Amask As Integer _
) As IntPtr
[C#]
public static IntPtr SDL_AllocSurface(
   int flags,
   int width,
   int height,
   int depth,
   int Rmask,
   int Gmask,
   int Bmask,
   int Amask
);

Parameters

flags
width
height
depth
Rmask
Gmask
Bmask
Amask

Return Value

See Also

Sdl Class | Tao.Sdl Namespace