Constructs a dsdl2.Renderer from a vanilla SDL_Renderer* from bindbc-sdl
Creates a hardware dsdl2.Renderer that renders to a dsdl2.Window, which wraps SDL_CreateRenderer
Creates a software dsdl2.Renderer that renders to a target surface, which wraps SDL_CreateSoftwareRenderer
Wraps SDL_GetRenderDrawBlendMode which gets the color blending mode of the renderer
Wraps SDL_SetRenderDrawBlendMode which sets the color blending mode of the renderer
Wraps SDL_RenderClear which clears the target with the renderer's draw color
Wraps SDL_RenderGetClipRect which gets the clipping dsdl2.Rect of the renderer
Wraps SDL_RenderSetClipRect which sets the clipping dsdl2.Rect of the renderer
Acts as SDL_RenderSetClipRect(renderer, NULL) which removes the clipping dsdl2.Rect of the renderer
Wraps SDL_RenderSetClipRect which sets or removes the clipping dsdl2.Rect of the renderer
Acts as SDL_RenderCopy(renderer, texture, NULL, destRect) which copies the entire texture to destRect at the renderer's target
Wraps SDL_RenderCopy which copies a part of the texture at srcRect to destRect at the renderer's target
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
Wraps SDL_RenderCopyF (from SDL 2.0.10) which copies a part of the texture at srcRect to destRect at the renderer's target
Acts as SDL_RenderCopyEx(renderer, texture, NULL, destRect, angle, NULL, flip) which copies the entire texture to destRect at the renderer's target with certain angle and flipping
Acts as SDL_RenderCopyEx(renderer, texture, srcRect, destRect, angle, NULL, flip) which copies the entire texture to destRect at the renderer's target with certain angle and flipping
Acts as SDL_RenderCopyEx(renderer, texture, NULL, destRect, angle, center, flip) which copies the entire texture to destRect at the renderer's target with certain angle and flipping
Wraps SDL_RenderCopyEx which copies the entire texture to destRect at the renderer's target with certain angle and flipping
Acts as SDL_RenderCopyExF(renderer, texture, NULL, destRect, angle, NULL, flip) (from SDL 2.0.10) which copies the entire texture to destRect at the renderer's target with certain angle and flipping
Acts as SDL_RenderCopyExF(renderer, texture, srcRect, destRect, angle, NULL, flip) (from SDL 2.0.10) which copies the entire texture to destRect at the renderer's target with certain angle and flipping
Acts as SDL_RenderCopyExF(renderer, texture, NULL, destRect, angle, center, flip) (from SDL 2.0.10) which copies the entire texture to destRect at the renderer's target with certain angle and flipping
Wraps SDL_RenderCopyExF (from SDL 2.0.10) which copies the entire texture to destRect at the renderer's target with certain angle and flipping
Wraps SDL_GetRenderDrawColor which gets the draw color for the following draw calls
Wraps SDL_SetRenderDrawColor which sets the draw color for the following draw calls
Wraps SDL_RenderDrawLine which draws a line between two points with the renderer's draw color
Wraps SDL_RenderDrawLineF (from SDL 2.0.10) which draws a line between two points with the renderer's draw color
Wraps SDL_RenderDrawLines which draws multiple lines following given points with the renderer's draw color
Wraps SDL_RenderDrawLinesF (from SDL 2.0.10) which draws multiple lines following given points with the renderer's draw color
Wraps SDL_RenderDrawPoint which draws a single point at a given position with the renderer's draw color
Wraps SDL_RenderDrawPointF (from SDL 2.0.10) which draws a single point at a given position with the renderer's draw color
Wraps SDL_RenderDrawPoints which draws multiple points at given positions with the renderer's draw color
Wraps SDL_RenderDrawPointsF (from SDL 2.0.10) which draws multiple points at given positions with the renderer's draw color
Wraps SDL_RenderDrawRect which draws a rectangle's edges with the renderer's draw color
Wraps SDL_RenderDrawRectF (from SDL 2.0.10) which draws a rectangle's edges with the renderer's draw color
Wraps SDL_RenderDrawRects which draws multiple rectangles' edges with the renderer's draw color
Wraps SDL_RenderDrawRectsF (from SDL 2.0.10) which draws multiple rectangles' edges with the renderer's draw color
Wraps SDL_RenderFillRect which fills a rectangle with the renderer's draw color
Wraps SDL_RenderFillRectF (from SDL 2.0.10) which fills a rectangle with the renderer's draw color
Wraps SDL_RenderFillRects which fills multiple rectangles with the renderer's draw color
Wraps SDL_RenderFillRectsF (from SDL 2.0.10) which fills multiple rectangles with the renderer's draw color
Wraps SDL_RenderFlush (from SDL 2.0.10) which executes and flushes all pending rendering operations
Wraps SDL_RenderGetMetalCommandEncoder (from SDL 2.0.8) which gets the Metal command encoder for the current frame
Wraps SDL_RenderGetMetalLayer (from SDL 2.0.8) which gets the CAMetalLayer pointer associated with the given Metal renderer
Wraps SDL_RenderIsClipEnabled (from SDL 2.0.4) which checks whether a clipping rectangle is set in the renderer
Wraps SDL_GetRendererOutputSize which gets the renderer output's height
Wraps SDL_GetRendererInfo which gets the renderer information
Wraps SDL_RenderGetIntegerScale (from SDL 2.0.5) which gets whether integer scales are forced
Wraps SDL_RenderSetIntegerScale (from SDL 2.0.5) which sets whether integer scales should be forced
Wraps SDL_RenderGetLogicalSize which gets the renderer output's logical height
Wraps SDL_RenderSetLogicalSize which sets the renderer output's logical height
Wraps SDL_RenderGetLogicalSize which gets the renderer logical size
Wraps SDL_RenderSetLogicalSize which sets the renderer output's logical size
Wraps SDL_RenderLogicalToWindow (from SDL 2.0.18) which maps logical coordinates to window coordinates
Wraps SDL_RenderGetLogicalSize which gets the renderer output's logical width
Wraps SDL_RenderSetLogicalSize which sets the renderer output's logical width
Equality operator overload
Wraps SDL_RenderPresent which presents any appending changes to the renderer's target
Wraps SDL_RenderReadPixels which makes a dsdl2.Surface from the renderer's entire target
Wraps SDL_RenderReadPixels which makes a dsdl2.Surface from a specified dsdl2.Rect boundary at the renderer's target
Wraps SDL_RenderGeometry (from SDL 2.0.18) which renders triangles to the renderer's target
Wraps SDL_RenderGetScale which gets the drawing scale of the renderer target
Wraps SDL_RenderSetScale which sets the drawing scale of the renderer target
Wraps SDL_RenderGetScale which gets the X drawing scale of the renderer target
Wraps SDL_RenderSetScale which sets the X drawing scale of the renderer target
Wraps SDL_RenderGetScale which gets the Y drawing scale of the renderer target
Wraps SDL_RenderSetScale which sets the Y drawing scale of the renderer target
Wraps SDL_RenderSetVSync which sets whether vertical synchronization should be enabled
Wraps SDL_GetRendererOutputSize which gets the renderer output's size
Wraps SDL_RenderTargetSupported which checks if the renderer supports texture targets
Wraps SDL_GetRenderTarget which gets the renderer's target
Wraps SDL_SetRenderTarget which sets the renderer's target
Gets the hash of the dsdl2.Renderer
Formats the dsdl2.Renderer into its construction representation: "dsdl2.Renderer(<sdlRenderer>)"
Wraps SDL_RenderGetViewport which gets the dsdl2.Rect viewport of the renderer
Wraps SDL_RenderSetViewport which sets the dsdl2.Rect viewport of the dsdl2.Renderer
Acts as SDL_RenderSetViewport(renderer, NULL) which removes the dsdl2.Rect viewport of the dsdl2.Renderer
Wraps SDL_RenderSetViewport which sets or removes the viewport dsdl2.Rect of the dsdl2.Renderer
Wraps SDL_GetRendererOutputSize which gets the renderer output's width
Wraps SDL_RenderGetWindow (from SDL 2.0.22) which gets a dsdl2.Window proxy to the window associated with the renderer
Wraps SDL_RenderWindowToLogical (from SDL 2.0.18) which maps window coordinates to logical coordinates
Internal SDL_Renderer pointer
D class that wraps SDL_Renderer managing a backend rendering instance
dsdl2.Renderer provides access to 2D draw commands, which accesses the internal backend renderer. The output/target of the renderer can be displayed to a dsdl2.Window if desired, or be done in software to the RAM as a dsdl2.Surface.