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_GetGPUTextEngineWinding - Get 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 ().

Header File

       Defined in SDL3_ttf/SDL_ttf.h

Name

       TTF_GetGPUTextEngineWinding - Get the winding order of the vertices returned by TTF_GetGPUTextDrawData
        for a particular GPU text engine

Return Value

       ( TTF_GPUTextEngineWinding ) Returns the winding order used by the GPU text engine or

       TTF_GPU_TEXTENGINE_WINDING_INVALID
        in case of error.

See Also

(3), TTF_SetGPUTextEngineWinding(3)

SDL_ttf                                           SDL_ttf 3.2.2                   TTF_GetGPUTextEngineWinding(3)

Synopsis

#include"SDL3_ttf/SDL_ttf.h"TTF_GPUTextEngineWindingTTF_GetGPUTextEngineWinding(constTTF_TextEngine*engine);

Thread Safety

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

See Also