SDL3 module

SDL_LockTexture

procedureforeignextension6 overloadsSource
SDL_LockTexture :: (
    texture: *SDL_Texture,
    rect: *SDL_Rect,
    pixels: **void,
    pitch: *s32
) -> bool #foreign

Parameters

texture: *SDL_Texture
rect: *SDL_Rect
pixels: **void
pitch: *s32

Returns

bool
SDL_LockTexture :: (
    texture: *SDL_Texture,
    rect: *SDL_Rect,
    pixels: **void,
    pitch: *s32
) -> bool #foreign

Parameters

texture: *SDL_Texture
rect: *SDL_Rect
pixels: **void
pitch: *s32

Returns

bool
SDL_LockTexture :: (
    texture: *SDL_Texture,
    rect: *SDL_Rect,
    pixels: **void,
    pitch: *s32
) -> bool #foreign

Parameters

texture: *SDL_Texture
rect: *SDL_Rect
pixels: **void
pitch: *s32

Returns

bool
SDL_LockTexture :: (
    texture: *SDL_Texture,
    rect: *SDL_Rect,
    pixels: **void,
    pitch: *s32
) -> bool #foreign

Parameters

texture: *SDL_Texture
rect: *SDL_Rect
pixels: **void
pitch: *s32

Returns

bool
SDL_LockTexture :: (
    texture: *SDL_Texture,
    rect: *SDL_Rect,
    pixels: **void,
    pitch: *s32
) -> bool #foreign

Parameters

texture: *SDL_Texture
rect: *SDL_Rect
pixels: **void
pitch: *s32

Returns

bool
SDL_LockTexture :: (
    texture: *SDL_Texture,
    rect: *SDL_Rect,
    pixels: **void,
    pitch: *s32
) -> bool #foreign

Parameters

texture: *SDL_Texture
rect: *SDL_Rect
pixels: **void
pitch: *s32

Returns

bool

See also