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 dsdl2
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
dsdl2 as the texture target |
Throws
dsdl2
if failed to set the renderer's target