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

# SDL\_ISCOLORSPACE\_LIMITED\_RANGE(3)

A macro to determine if an SDL\_Colorspace has a limited range.

## NAME

SDL\_ISCOLORSPACE\_LIMITED\_RANGE - A macro to determine if an  **SDL\_Colorspace**\
  has a limited range.

## HEADER FILE

Defined in SDL3/SDL\_pixels.h

## SYNOPSIS

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

**#define SDL\_ISCOLORSPACE\_LIMITED\_RANGE(cspace)       (SDL\_COLORSPACERANGE(cspace) != SDL\_COLOR\_RANGE\_FULL)**

## RETURN VALUE

Returns true if limited range, false otherwise.

## THREAD SAFETY

It is safe to call this macro from any thread.

## AVAILABILITY

This macro is available since SDL 3.2.0.
