logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

TTF_SetGPUTextEngineWinding - Sets the winding order of the vertices returned by TTF_GetGPUTextDrawData

Availability

       This function is available since SDL_ttf 3.0.0.

Function Parameters

engine a TTF_TextEngine
               object created with TTF_CreateGPUTextEngine ().

       winding
              the new winding order option.

Header File

       Defined in SDL3_ttf/SDL_ttf.h

Name

       TTF_SetGPUTextEngineWinding - Sets the winding order of the vertices returned by TTF_GetGPUTextDrawData
        for a particular GPU text engine.

See Also

(3), TTF_GetGPUTextEngineWinding(3)

SDL_ttf                                           SDL_ttf 3.2.2                   TTF_SetGPUTextEngineWinding(3)

Synopsis

#include"SDL3_ttf/SDL_ttf.h"voidTTF_SetGPUTextEngineWinding(TTF_TextEngine*engine,TTF_GPUTextEngineWindingwinding);

Thread Safety

       This function should be called on the thread that created the engine.

See Also