TTF_GetGPUTextEngineWinding3
Get the winding order of the vertices returned by ttf_getgputextdrawdata for a particular gpu text engine
Usage
#include "SDL3_ttf/SDL_ttf.h"
TTF_GPUTextEngineWinding TTF_GetGPUTextEngineWinding(const TTF_TextEngine *engine);
Header file
Defined in SDL3_ttf/SDL_ttf.h
Function parameters
- engine
-
a
TTF_TextEngine
object created withTTF_CreateGPUTextEngine().
Return value
( TTF_GPUTextEngineWinding ) Returns the winding order used by the GPU text engine or
TTF_GPU_TEXTENGINE_WINDING_INVALID
in case of error.
Thread safety
This function should be called on the thread that created the engine.