SDL2Renderer.copy

Blit a rectangle from a texture.

  1. void copy(SDL2Texture texture, SDL_Rect srcRect, SDL_Rect dstRect)
    class SDL2Renderer
    void
    copy
    (,
    SDL_Rect srcRect
    ,
    SDL_Rect dstRect
    )
  2. void copy(SDL2Texture texture, int x, int y)

Throws

SDL2Exception on error.

See Also

Meta