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,["# Sampler.Value\n\nAdded in [API level 11](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \nDeprecated in [API level 31](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)\n\nValue\n=====\n\n*** ** * ** ***\n\nKotlin \\|[Java](/reference/android/renderscript/Sampler.Value \"View this page in Java\") \n\n```\nclass Value\n```\n\n|---|---|-----------------------------------------|\n| [kotlin.Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html) |||\n| ↳ | [kotlin.Enum](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-enum/index.html)\\\u003c[android.renderscript.Sampler.Value](#)\\\u003e ||\n| | ↳ | [android.renderscript.Sampler.Value](#) |\n\n|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| Known Direct Subclasses [Sampler.Value.CLAMP](#ENUM_VALUE:CLAMP), [Sampler.Value.LINEAR](#ENUM_VALUE:LINEAR), [Sampler.Value.LINEAR_MIP_LINEAR](#ENUM_VALUE:LINEAR_MIP_LINEAR), [Sampler.Value.LINEAR_MIP_NEAREST](#ENUM_VALUE:LINEAR_MIP_NEAREST), [Sampler.Value.MIRRORED_REPEAT](#ENUM_VALUE:MIRRORED_REPEAT), [Sampler.Value.NEAREST](#ENUM_VALUE:NEAREST), [Sampler.Value.WRAP](#ENUM_VALUE:WRAP) |--------------------------------------------------------------------|--------| | [Sampler.Value.CLAMP](#ENUM_VALUE:CLAMP) | \u003cbr /\u003e | | [Sampler.Value.LINEAR](#ENUM_VALUE:LINEAR) | \u003cbr /\u003e | | [Sampler.Value.LINEAR_MIP_LINEAR](#ENUM_VALUE:LINEAR_MIP_LINEAR) | \u003cbr /\u003e | | [Sampler.Value.LINEAR_MIP_NEAREST](#ENUM_VALUE:LINEAR_MIP_NEAREST) | \u003cbr /\u003e | | [Sampler.Value.MIRRORED_REPEAT](#ENUM_VALUE:MIRRORED_REPEAT) | \u003cbr /\u003e | | [Sampler.Value.NEAREST](#ENUM_VALUE:NEAREST) | \u003cbr /\u003e | | [Sampler.Value.WRAP](#ENUM_VALUE:WRAP) | \u003cbr /\u003e | |\n\n*** ** * ** ***\n\n| **This enum was deprecated in API level 31.**\n|\n| Deprecated in Java.\n\nSummary\n-------\n\n| Enum values ||\n|-------------------------------------------------------------|---|\n| [CLAMP](#ENUM_VALUE:CLAMP) \u003cbr /\u003e |\n| [LINEAR](#ENUM_VALUE:LINEAR) \u003cbr /\u003e |\n| [LINEAR_MIP_LINEAR](#ENUM_VALUE:LINEAR_MIP_LINEAR) \u003cbr /\u003e |\n| [LINEAR_MIP_NEAREST](#ENUM_VALUE:LINEAR_MIP_NEAREST) \u003cbr /\u003e |\n| [MIRRORED_REPEAT](#ENUM_VALUE:MIRRORED_REPEAT) \u003cbr /\u003e |\n| [NEAREST](#ENUM_VALUE:NEAREST) \u003cbr /\u003e |\n| [WRAP](#ENUM_VALUE:WRAP) \u003cbr /\u003e |\n\nEnum values\n-----------\n\n### CLAMP\n\nAdded in [API level 11](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nenum val CLAMP : Sampler.Value\n```\n\n**Deprecated:** *Deprecated in Java.* \n\n### LINEAR\n\nAdded in [API level 11](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nenum val LINEAR : Sampler.Value\n```\n\n**Deprecated:** *Deprecated in Java.* \n\n### LINEAR_MIP_LINEAR\n\nAdded in [API level 11](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nenum val LINEAR_MIP_LINEAR : Sampler.Value\n```\n\n**Deprecated:** *Deprecated in Java.* \n\n### LINEAR_MIP_NEAREST\n\nAdded in [API level 11](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nenum val LINEAR_MIP_NEAREST : Sampler.Value\n```\n\n**Deprecated:** *Deprecated in Java.* \n\n### MIRRORED_REPEAT\n\nAdded in [API level 18](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \nDeprecated in [API level 31](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nenum val MIRRORED_REPEAT : Sampler.Value\n```\n\n**Deprecated:** *Deprecated in Java.* \n\n### NEAREST\n\nAdded in [API level 11](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nenum val NEAREST : Sampler.Value\n```\n\n**Deprecated:** *Deprecated in Java.* \n\n### WRAP\n\nAdded in [API level 11](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nenum val WRAP : Sampler.Value\n```\n\n**Deprecated:** *Deprecated in Java.*"]]