Stay organized with collections
Save and categorize content based on your preferences.
Shaders
@Incubating interface Shaders
Options for configuring scoped shader options.
Summary
Public methods
|
abstract Unit |
Adds options to the list of glslc args.
|
abstract Unit |
Adds options to 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
scopedGlslcArgs
abstract val scopedGlslcArgs: ListMultimap<String, String>
The list of scoped glsl args.
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@Incubating interface Shaders\n```\n\n|----------------------------------------|\n| [com.android.build.api.dsl.Shaders](#) |\n\nOptions for configuring scoped shader options.\n\nSummary\n-------\n\n| ### Public methods ||\n|---------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| abstract [Unit](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) | [glslcArgs](#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. |\n| abstract [Unit](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) | [glslcScopedArgs](#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. |\n\n| ### Properties ||\n|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------|\n| abstract [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](#glslcArgs:kotlin.collections.MutableList) The list of glslc args. |\n| abstract ListMultimap\\\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](#scopedGlslcArgs:com.google.common.collect.ListMultimap) The list of scoped glsl args. |\n\nPublic methods\n--------------\n\n### glslcArgs\n\n```\nabstract fun glslcArgs(vararg options: String): Unit\n```\n\nAdds options to the list of glslc args. \n\n### glslcScopedArgs\n\n```\nabstract fun glslcScopedArgs(\n key: String, \n vararg options: String\n): Unit\n```\n\nAdds options to the list of scoped glsl args.\n\nProperties\n----------\n\n### glslcArgs\n\n```\nabstract val glslcArgs: MutableList\u003cString\u003e\n```\n\nThe list of glslc args. \n\n### scopedGlslcArgs\n\n```\nabstract val scopedGlslcArgs: ListMultimap\u003cString, String\u003e\n```\n\nThe list of scoped glsl args."]]