Stay organized with collections
Save and categorize content based on your preferences.
Shaders
interface Shaders
Options for configuring scoped shader options.
Summary
Public functions |
Unit |
Adds options to the list of glslc args.
|
Unit |
Adds options to the list of scoped glsl args.
|
Public functions
Public properties
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-02-10 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-10 UTC."],[],[],null,["# Shaders\n=======\n\n\n```\ninterface Shaders\n```\n\n\u003cbr /\u003e\n\n*** ** * ** ***\n\nOptions for configuring scoped shader options.\n\nSummary\n-------\n\n| ### Public functions ||\n|------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [Unit](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) | [glslcArgs](/reference/tools/gradle-api/8.1/com/android/build/api/dsl/Shaders#glslcArgs(kotlin.Array))`(vararg options: `[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`)` Adds options to the list of glslc args. |\n| [Unit](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) | [glslcScopedArgs](/reference/tools/gradle-api/8.1/com/android/build/api/dsl/Shaders#glslcScopedArgs(kotlin.String,kotlin.Array))`(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. |\n\n| ### Public properties ||\n|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------|\n| [MutableList](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-mutable-list/index.html)`\u003c`[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`\u003e` | [glslcArgs](/reference/tools/gradle-api/8.1/com/android/build/api/dsl/Shaders#glslcArgs()) The list of glslc args. |\n| [ListMultimap](https://guava.dev/releases/18.0/api/docs/com/google/common/collect/ListMultimap.html)`\u003c`[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`, `[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`\u003e` | [scopedGlslcArgs](/reference/tools/gradle-api/8.1/com/android/build/api/dsl/Shaders#scopedGlslcArgs()) The list of scoped glsl args. |\n\nPublic functions\n----------------\n\n### glslcArgs\n\n```\nfun glslcArgs(vararg options: String): Unit\n```\n\nAdds options to the list of glslc args. \n\n### glslcScopedArgs\n\n```\nfun glslcScopedArgs(key: String, vararg options: String): Unit\n```\n\nAdds options to the list of scoped glsl args.\n\nPublic properties\n-----------------\n\n### glslcArgs\n\n```\nval glslcArgs: MutableList\u003cString\u003e\n```\n\nThe list of glslc args. \n\n### scopedGlslcArgs\n\n```\nval scopedGlslcArgs: ListMultimap\u003cString, String\u003e\n```\n\nThe list of scoped glsl args."]]