# ShadingRateInfo

> Encapsulate the informations and capabilities related to variable rate shading. Additional Resources: Variable Rate Shading.

## Definition

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

```csharp
public static class ShadingRateInfo
```

## Static Properties

| Property                                                                                                                  | Description                                                                                                                         |
| ------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------- |
| [availableFragmentSizes](/engine/6000.5/script-reference/unityengine/rendering/shadingrateinfo/availablefragmentsizes.md) | Get the supported shading rate fragment sizes by the current platform.                                                              |
| [graphicsFormat](/engine/6000.5/script-reference/unityengine/rendering/shadingrateinfo/graphicsformat.md)                 | Get the shading rate graphics format used by the current platform.                                                                  |
| [imageTileSize](/engine/6000.5/script-reference/unityengine/rendering/shadingrateinfo/imagetilesize.md)                   | Get the shading rate image tile size used by the current platform.                                                                  |
| [supportsPerDrawCall](/engine/6000.5/script-reference/unityengine/rendering/shadingrateinfo/supportsperdrawcall.md)       | Returns true if variable fragment shading rates per draw call are supported by the current graphics card for variable rate shading. |
| [supportsPerImageTile](/engine/6000.5/script-reference/unityengine/rendering/shadingrateinfo/supportsperimagetile.md)     | Returns true if image-based fragment shading rates are supported by the current graphics card for variable rate shading.            |

## Static Methods

| Method                                                                                                        | Description                                                                                                                                        |
| ------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------- |
| [QueryNativeValue](/engine/6000.5/script-reference/unityengine/rendering/shadingrateinfo/querynativevalue.md) | Get the native graphics API value for [ShadingRateFragmentSize](/engine/6000.5/script-reference/unityengine/rendering/shadingratefragmentsize.md). |
