sdlRenderPoints function
Draw multiple points on the current rendering target at subpixel precision.
\param renderer the renderer which should draw multiple points. \param points the points to draw. \param count the number of points to draw. \returns true on success or false on failure; call SDL_GetError() for more information.
\threadsafety This function should only be called on the main thread.
\since This function is available since SDL 3.1.3.
\sa SDL_RenderPoint
extern SDL_DECLSPEC bool SDLCALL SDL_RenderPoints(SDL_Renderer *renderer, const SDL_FPoint *points, int count)
Implementation
bool sdlRenderPoints(
Pointer<SdlRenderer> renderer, Pointer<SdlFPoint> points, int count) {
final sdlRenderPointsLookupFunction = libSdl3.lookupFunction<
Uint8 Function(Pointer<SdlRenderer> renderer, Pointer<SdlFPoint> points,
Int32 count),
int Function(Pointer<SdlRenderer> renderer, Pointer<SdlFPoint> points,
int count)>('SDL_RenderPoints');
return sdlRenderPointsLookupFunction(renderer, points, count) == 1;
}