# QueryNativeValue(ShadingRateFragmentSize)

> Get the native graphics API value for ShadingRateFragmentSize.

## Definition

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

```csharp
public static byte QueryNativeValue(ShadingRateFragmentSize fragmentSize)
```

### Parameters

**** (\[ShadingRateFragmentSize]\(/engine/6000.5/script-reference/unityengine/rendering/shadingratefragmentsize)): Shading rate fragment size to get the native value of

### Returns

| Type                                                       | Description                |
| ---------------------------------------------------------- | -------------------------- |
| [byte](https://learn.microsoft.com/dotnet/api/system.byte) | Native graphics API value. |
