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

# SDL\_GPUFrontFace(3type)

Specifies the vertex winding that will cause a triangle to be determined to be front-facing.

## NAME

SDL\_GPUFrontFace - Specifies the vertex winding that will cause a triangle to be determined to be front-facing.

## HEADER FILE

Defined in SDL3/SDL\_gpu.h

## SYNOPSIS

```
#include "SDL3/SDL.h"
```

**typedef enum SDL\_GPUFrontFace** **{**     **SDL\_GPU\_FRONTFACE\_COUNTER\_CLOCKWISE,  /\*\*\< A triangle with counter-clockwise vertex winding will be considered front-facing. \*/**     **SDL\_GPU\_FRONTFACE\_CLOCKWISE           /\*\*\< A triangle with clockwise vertex winding will be considered front-facing. \*/** **} SDL\_GPUFrontFace;**

## AVAILABILITY

This enum is available since SDL 3.2.0.

## SEE ALSO

**•**(3), [**SDL\_CreateGPUGraphicsPipeline**(3)](/SDL_CreateGPUGraphicsPipeline/3.md)
