Renderer.target - multiple declarations
Function Renderer.target
Wraps SDL_GetRenderTarget which gets the renderer's target
Returns
null if the renderer uses the default target (usually the window), otherwise a dsdl
proxy to the the set texture target
Function Renderer.target
Wraps SDL_SetRenderTarget which sets the renderer's target
Parameters
| Name | Description |
|---|---|
| newTarget | null to set the target to be the default target (usually the window), or a valid target
dsdl as the texture target |
Throws
dsdl if failed to set the renderer's target