# WebGLTextureSubtarget

> Compressed texture format for target build platform.

## Definition

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

```csharp
public enum WebGLTextureSubtarget
```

## Remarks

Additional Resources: [EditorUserBuildSettings.webGLBuildSubtarget](/engine/6000.6/script-reference/unityeditor/editoruserbuildsettings/webglbuildsubtarget.md).

## Fields

| Value                                                                                   | Description                                                                             |
| --------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- |
| [ASTC](/engine/6000.6/script-reference/unityeditor/webgltexturesubtarget/astc.md)       | ASTC texture compression.                                                               |
| [DXT](/engine/6000.6/script-reference/unityeditor/webgltexturesubtarget/dxt.md)         | S3 texture compression. Supported on devices with NVidia Tegra, Vivante and Intel GPUs. |
| [ETC2](/engine/6000.6/script-reference/unityeditor/webgltexturesubtarget/etc2.md)       | ETC2 texture compression. Available on devices which support OpenGL ES 3.0.             |
| [Generic](/engine/6000.6/script-reference/unityeditor/webgltexturesubtarget/generic.md) | Don't override texture compression.                                                     |
