SDL3 module

SDL_CreateSurfaceFrom

procedureforeignextension6 overloadsSource
SDL_CreateSurfaceFrom :: (
    width: s32,
    height: s32,
    format: SDL_PixelFormat,
    pixels: *void,
    pitch: s32
) -> *SDL_Surface #foreign

Parameters

width: s32
height: s32
pixels: *void
pitch: s32

Returns

SDL_CreateSurfaceFrom :: (
    width: s32,
    height: s32,
    format: SDL_PixelFormat,
    pixels: *void,
    pitch: s32
) -> *SDL_Surface #foreign

Parameters

width: s32
height: s32
pixels: *void
pitch: s32

Returns

SDL_CreateSurfaceFrom :: (
    width: s32,
    height: s32,
    format: SDL_PixelFormat,
    pixels: *void,
    pitch: s32
) -> *SDL_Surface #foreign

Parameters

width: s32
height: s32
pixels: *void
pitch: s32

Returns

SDL_CreateSurfaceFrom :: (
    width: s32,
    height: s32,
    format: SDL_PixelFormat,
    pixels: *void,
    pitch: s32
) -> *SDL_Surface #foreign

Parameters

width: s32
height: s32
pixels: *void
pitch: s32

Returns

SDL_CreateSurfaceFrom :: (
    width: s32,
    height: s32,
    format: SDL_PixelFormat,
    pixels: *void,
    pitch: s32
) -> *SDL_Surface #foreign

Parameters

width: s32
height: s32
pixels: *void
pitch: s32

Returns

SDL_CreateSurfaceFrom :: (
    width: s32,
    height: s32,
    format: SDL_PixelFormat,
    pixels: *void,
    pitch: s32
) -> *SDL_Surface #foreign

Parameters

width: s32
height: s32
pixels: *void
pitch: s32

Returns

See also