# ShaderData.SpecializationConstantInfo

> Provides information about a shader specialization constant value.

## Definition

* **Type:** Struct
* **Namespace:** [UnityEditor](/engine/6000.7/script-reference/unityeditor.md)
* **Assembly:** UnityEditor.CoreModule

```csharp
public struct ShaderData.SpecializationConstantInfo
```

## Remarks

Specialization constants are a special type of uniform variables that are used to create shader variants at runtime. The GPU driver can then optimize the code further, knowing that the value of such a constant will never change.

## Properties

| Property                                                                                          | Description                                                  |
| ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------ |
| [Name](/engine/6000.7/script-reference/unityeditor/shaderdata/specializationconstantinfo/name.md) | The name of this constant (Read Only).                       |
| [Slot](/engine/6000.7/script-reference/unityeditor/shaderdata/specializationconstantinfo/slot.md) | The binding slot of this constant in the shader (Read Only). |
