# IsEnabled

> Check whether a specific shader keyword is enabled.

## Definition

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

## IsEnabled(ShaderKeyword)

Check whether a specific shader keyword is enabled.

```csharp
public bool IsEnabled(ShaderKeyword keyword)
```

### Parameters

**** (\[ShaderKeyword]\(/engine/6000.5/script-reference/unityengine/rendering/shaderkeyword)):&#x20;

### Returns

| Type                                                          | Description |
| ------------------------------------------------------------- | ----------- |
| [bool](https://learn.microsoft.com/dotnet/api/system.boolean) |             |

## IsEnabled(GlobalKeyword)

Check whether a specific shader keyword is enabled.

```csharp
public bool IsEnabled(GlobalKeyword keyword)
```

### Parameters

**** (\[GlobalKeyword]\(/engine/6000.5/script-reference/unityengine/rendering/globalkeyword)):&#x20;

### Returns

| Type                                                          | Description |
| ------------------------------------------------------------- | ----------- |
| [bool](https://learn.microsoft.com/dotnet/api/system.boolean) |             |

## IsEnabled(LocalKeyword)

Check whether a specific shader keyword is enabled.

```csharp
public bool IsEnabled(LocalKeyword keyword)
```

### Parameters

**** (\[LocalKeyword]\(/engine/6000.5/script-reference/unityengine/rendering/localkeyword)):&#x20;

### Returns

| Type                                                          | Description |
| ------------------------------------------------------------- | ----------- |
| [bool](https://learn.microsoft.com/dotnet/api/system.boolean) |             |
