# Shaders

# Shaders

```
@Incubating interface Shaders
```

|--------------------------------------------------------------------------------------------------------------------------------------|
| [com.android.build.api.dsl.Shaders](https://developer.android.com/reference/tools/gradle-api/7.0/com/android/build/api/dsl/Shaders#) |

Options for configuring scoped shader options.

## Summary

|                                                                                                                                                                                                                                             ### Public methods                                                                                                                                                                                                                                             ||
|--------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| abstract[Unit](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) | [glslcArgs](https://developer.android.com/reference/tools/gradle-api/7.0/com/android/build/api/dsl/Shaders#glslcArgs(kotlin.String))`(`vararg` `options:` `[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`)` Adds options to the list of glslc args.                                                                                                                               |
| abstract[Unit](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) | [glslcScopedArgs](https://developer.android.com/reference/tools/gradle-api/7.0/com/android/build/api/dsl/Shaders#glslcScopedArgs(kotlin.String,%20kotlin.String))`(`key:` `[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`, `vararg` `options:` `[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`)` Adds options to the list of scoped glsl args. |

|                                                                                                                                                                                               ### Properties                                                                                                                                                                                                ||
|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| abstract[MutableList](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-mutable-list/index.html)\<[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)\> | [glslcArgs](https://developer.android.com/reference/tools/gradle-api/7.0/com/android/build/api/dsl/Shaders#glslcArgs:kotlin.collections.MutableList) The list of glslc args.                           |
| abstractListMultimap\<[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html),[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)\>           | [scopedGlslcArgs](https://developer.android.com/reference/tools/gradle-api/7.0/com/android/build/api/dsl/Shaders#scopedGlslcArgs:com.google.common.collect.ListMultimap) The list of scoped glsl args. |

## Public methods

### glslcArgs

```
abstract fun glslcArgs(vararg options: String): Unit
```

Adds options to the list of glslc args.  

### glslcScopedArgs

```
abstract fun glslcScopedArgs(
    key: String, 
    vararg options: String
): Unit
```

Adds options to the list of scoped glsl args.

## Properties

### glslcArgs

```
abstract val glslcArgs: MutableList<String>
```

The list of glslc args.  

### scopedGlslcArgs

```
abstract val scopedGlslcArgs: ListMultimap<String, String>
```

The list of scoped glsl args.