Header File

The header file may include additional information sdl_util.hrl

Exports

alloc(Size0, Type)

getBin(#sdlmem{bin=Bin})

malloc(Size, Type)

free(_Ref)

read(#sdlmem{type=Type,bin=Bin}, Size)

write(#sdlmem{type=Type,size=Size,bin=Dest}, Data)

write(#sdlmem{type=Type,size=Size0,bin=Dest0}, Offset, Data)

term2bin(Bin, _, _)

tuplelist2bin(2,Type,List)

bin2list(undefined, Type, Bin)

copySdlImage2GLArray(Image, Mem, Bpp)

debug(L)