Packages
sdl2
SDL
Video
Texture
create
create_from_surface
@unlock
do_lock
get_alpha_mod
get_blend_mode
get_color_mod
gl_bind
gl_unbind
query
set_alpha_mod
set_blend_mode
set_color_mod
update
update_yuv
create_from_surface
Description:
[
CCode
( cname =
"SDL_CreateTextureFromSurface"
) ]
public
static
Texture
?
create_from_surface
(
Renderer
renderer,
Surface
surface)