---
name: "TTF_GetGPUTextEngineWinding"
section: "3"
platform: "linux"
package: "libsdl3-ttf-doc"
version: "3.2.2+ds-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/TTF_GetGPUTextEngineWinding"
---

# TTF\_GetGPUTextEngineWinding(3)

Get the winding order of the vertices returned by TTF\_GetGPUTextDrawData for a particular GPU text engine

## NAME

TTF\_GetGPUTextEngineWinding - Get the winding order of the vertices returned by  **TTF\_GetGPUTextDrawData**\
  for a particular GPU text engine

## HEADER FILE

Defined in SDL3\_ttf/SDL\_ttf.h

## SYNOPSIS

```
#include "SDL3_ttf/SDL_ttf.h"
```

**TTF\_GPUTextEngineWinding TTF\_GetGPUTextEngineWinding(const TTF\_TextEngine \*engine);**

## 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.

## SEE ALSO

**•**(3), [**TTF\_SetGPUTextEngineWinding**(3)](/TTF_SetGPUTextEngineWinding/3.md)
