SDL2Texture.updateTexture

Updates the whole texture with new pixel data.

  1. void updateTexture(const(void)* pixels, int pitch)
    class SDL2Texture
    void
    updateTexture
    (
    const(void)* pixels
    ,
    int pitch
    )
  2. void updateTexture(const(SDL_Rect)* rect, const(void)* pixels, int pitch)

Throws

SDL2Exception on error.

See Also

Meta