---
title: "TEXTURE_GATHER_IDS: constant in Backends, TypeShade API"
description: "TEXTURE_GATHER_IDS, a constant in Backends. The neutral ids a textureGather / textureGatherCompare call lowers to, one per WGSL argument structure."
url: https://typeshade.dev/api/texturegatherids/
language: en
---

# `TEXTURE_GATHER_IDS`

Constant in Backends

The neutral ids a `textureGather` / `textureGatherCompare` call lowers to, one per WGSL argument structure.

`import { TEXTURE_GATHER_IDS } from 'typeshade'`

The signature, the description and the examples come from the compiler's own source at commit af54ddad5.

## Syntax

```ts
const TEXTURE_GATHER_IDS: ReadonlySet<string>
```

## Description

Exported so the capability pass can derive `textureGather` from a call without a second list.

## Source

[`src/core/intrinsics.ts`, line 210](https://github.com/typeshade/typeshade/blob/af54ddad5/src/core/intrinsics.ts#L210), at commit af54ddad5
