---
title: keywords
product: Unity Editor
version: '7000.0'
latest_version: '7000.0'
status: This page documents version 7000.0. The latest version is 7000.0.
canonical: https://docs.unity.com/en-us/engine/7000.0/script-reference/unityengine/rendering/graphicsstatecollection/computeshadervariant/keywords
latest_url: https://docs.unity.com/en-us/engine/7000.0/script-reference/unityengine/rendering/graphicsstatecollection/computeshadervariant/keywords.md
last_updated: 2026-11-13
generated_at: 2026-11-18T09:32:28.918Z
locale: en-us
---

# keywords

> Array of local keywords used in this variant.

## Definition

* **Type:** Field
* **Namespace:** [UnityEngine.Rendering](/engine/7000.0/script-reference/unityengine/rendering.md)
* **Assembly:** UnityEngine.CoreModule

```csharp
public LocalKeyword[] keywords
```

### Remarks

Variants that [GraphicsStateCollection.GetComputeVariants](/engine/7000.0/script-reference/unityengine/rendering/graphicsstatecollection/getcomputevariants.md) returns omit any keywords that [GraphicsStateCollection.AddComputeVariant](/engine/7000.0/script-reference/unityengine/rendering/graphicsstatecollection/addcomputevariant.md) ignores.
