TTF_GetGPUTextEngineWinding(3)

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 with TTF_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.

Availability

This function is available since SDL_ttf 3.0.0.

From libsdl3-ttf-doc 3.2.2+ds-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.