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

# TTF\_TextEngine(3type)

A text engine used to create text objects.

## NAME

TTF\_TextEngine - A text engine used to create text objects.

## HEADER FILE

Defined in SDL3\_ttf/SDL\_ttf.h

## SYNOPSIS

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

**typedef struct TTF\_TextEngine TTF\_TextEngine;**

## DESCRIPTION

This is a public interface that can be used by applications and libraries to perform customize rendering with text objects. See \<SDL3\_ttf/SDL\_textengine.h\> for details.

There are three text engines provided with the library:

• Drawing to an SDL\_Surface, created with

**TTF\_CreateSurfaceTextEngine** ()

• Drawing with an SDL 2D renderer, created with

**TTF\_CreateRendererTextEngine** ()

• Drawing with the SDL GPU API, created with

**TTF\_CreateGPUTextEngine** ()

## AVAILABILITY

This struct is available since SDL\_ttf 3.0.0.
