void update_with(const pixelmap_t &pm)
void clear(SDL_Renderer *renderer)
device_texture_t(bool streaming=false)
SDL_Texture * texture_ptr
device_texture_t(device_texture_t &&other) noexcept
device_texture_t & operator=(const device_texture_t &other)
device_texture_t & operator=(device_texture_t &&other) noexcept
void copy_into(SDL_Renderer *renderer, device_texture_t &other, SDL_FRect *dst, bool blend=true, SDL_FRect *src_=nullptr)
SDL_Texture * sdl_texture()
void resize(SDL_Renderer *renderer, float w, float h, bool copy_old=false)
device_texture_t(const device_texture_t &other)
void copy_into(SDL_Renderer *renderer, device_texture_t &other, SDL_FRect *dst) const