Renderer.copy

Acts as SDL_RenderCopy(renderer, texture, NULL, destRect) which copies the entire texture to destRect at the renderer's target

Parameters

texture Texture

dsdl2.Texture to be copied/drawn

destRect Rect

destination dsdl2.Rect in the target for the texture to be drawn to

Throws

dsdl2.SDLException if texture failed to draw

Meta