- render-copy! renderer texture #!optional srcrect dstrectprocedure
Copy all or part of the given texture onto the renderer. See SDL_RenderCopy. This procedure is available in sdl2 egg version 0.2.0 and higher.
- renderer is the sdl2:renderer to copy the texture to.
- texture is the source sdl2:texture.
- srcrect is a sdl2:rect specifying the part of the texture to copy, or #f to copy the whole texture. It defaults to #f.
- dstrect is a sdl2:rect specifying where on the renderer to copy the texture to, or #f to copy onto the entire renderer. It defaults to #f.
Signals an exception of kind (exn sdl2) if an error occurs.