Renderer.copy - multiple declarations
Function Renderer.copy
Acts as SDL_RenderCopy(renderer, texture, NULL, destRect)
which copies the entire texture to destRect
at
the renderer's target
Parameters
Name | Description |
---|---|
texture | dsdl2 to be copied/drawn |
destRect | destination dsdl2 in the target for the texture to be drawn to |
Throws
dsdl2
if texture failed to draw
Function Renderer.copy
Wraps SDL_RenderCopy
which copies a part of the texture at srcRect
to destRect
at the renderer's target
Parameters
Name | Description |
---|---|
texture | dsdl2 to be copied/drawn |
destRect | destination dsdl2 in the target for the texture to be drawn to |
srcRect | source dsdl2 which clips the given texture |
Throws
dsdl2
if texture failed to draw
Function Renderer.copy
Acts as SDL_RenderCopyF(renderer, texture, NULL, destRect)
(from SDL 2.0.10) which copies the entire
texture to destRect
at the renderer's target
Parameters
Name | Description |
---|---|
texture | dsdl2 to be copied/drawn |
destRect | destination dsdl2 in the target for the texture to be drawn to |
Throws
dsdl2
if texture failed to draw
Function Renderer.copy
Wraps SDL_RenderCopyF
(from SDL 2.0.10) which copies a part of the texture at srcRect
to destRect
at
the renderer's target
Parameters
Name | Description |
---|---|
texture | dsdl2 to be copied/drawn |
destRect | destination dsdl2 in the target for the texture to be drawn to |
srcRect | source dsdl2 which clips the given texture |
Throws
dsdl2
if texture failed to draw