public static final enum Texture.Usage
Texture.Usage
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-06-26 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 2024-06-26 UTC."],[[["\u003cp\u003e\u003ccode\u003eTexture.Usage\u003c/code\u003e is an enum defining how a Texture is used within Sceneform.\u003c/p\u003e\n"],["\u003cp\u003eIt includes three values: \u003ccode\u003eCOLOR\u003c/code\u003e for color maps, \u003ccode\u003eDATA\u003c/code\u003e for arbitrary data, and \u003ccode\u003eNORMAL\u003c/code\u003e for normal maps.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eTexture.Usage\u003c/code\u003e inherits methods from \u003ccode\u003ejava.lang.Enum\u003c/code\u003e, \u003ccode\u003ejava.lang.Object\u003c/code\u003e, and \u003ccode\u003ejava.lang.Comparable\u003c/code\u003e allowing for comparisons and other standard operations.\u003c/p\u003e\n"]]],["The core content describes the `Texture.Usage` enum, which defines the type of texture usage. It presents three enum values: `COLOR` for color maps, `DATA` for arbitrary data, and `NORMAL` for normal maps. The document details inherited methods from `java.lang.Enum`, `java.lang.Object`, and `java.lang.Comparable`, including actions like `clone()`, `compareTo()`, `equals()`, `hashCode()`, `toString()`, and `valueOf()`. These methods manage object properties, comparisons, and string representations.\n"],null,["# Texture.Usage\n\npublic static final enum **Texture.Usage** \nType of Texture usage. \n\n### Inherited Methods\n\nFrom class java.lang.Enum \n\n|-----------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| final [Object](https://developer.android.com/reference/java/lang/Object) | clone() |\n| final int | compareTo([Texture.Usage](/sceneform/reference/com/google/ar/sceneform/rendering/Texture.Usage) arg0) |\n| int | compareTo([Object](https://developer.android.com/reference/java/lang/Object) arg0) |\n| final boolean | equals([Object](https://developer.android.com/reference/java/lang/Object) arg0) |\n| final void | finalize() |\n| final [Class](https://developer.android.com/reference/java/lang/Class)\\\u003c[Texture.Usage](/sceneform/reference/com/google/ar/sceneform/rendering/Texture.Usage)\\\u003e | getDeclaringClass() |\n| final int | hashCode() |\n| final [String](https://developer.android.com/reference/java/lang/String) | name() |\n| final int | ordinal() |\n| [String](https://developer.android.com/reference/java/lang/String) | toString() |\n| static \\\u003cT extends [Enum](https://developer.android.com/reference/java/lang/Enum)\\\u003cT\\\u003e\\\u003e T | valueOf([Class](https://developer.android.com/reference/java/lang/Class)\\\u003cT\\\u003e arg0, [String](https://developer.android.com/reference/java/lang/String) arg1) |\n\nFrom class java.lang.Object \n\n|-----------------------------------------------------------------------------|---------------------------------------------------------------------------------|\n| [Object](https://developer.android.com/reference/java/lang/Object) | clone() |\n| boolean | equals([Object](https://developer.android.com/reference/java/lang/Object) arg0) |\n| void | finalize() |\n| final [Class](https://developer.android.com/reference/java/lang/Class)\\\u003c?\\\u003e | getClass() |\n| int | hashCode() |\n| final void | notify() |\n| final void | notifyAll() |\n| [String](https://developer.android.com/reference/java/lang/String) | toString() |\n| final void | wait(long arg0, int arg1) |\n| final void | wait(long arg0) |\n| final void | wait() |\n\nFrom interface java.lang.Comparable \n\n|--------------|-------------------------------------------------------------------------------------------------------|\n| abstract int | compareTo([Texture.Usage](/sceneform/reference/com/google/ar/sceneform/rendering/Texture.Usage) arg0) |\n\nEnum Values\n-----------\n\n#### public static final Texture.Usage\n**COLOR**\n\nTexture contains a color map \n\n#### public static final Texture.Usage\n**DATA**\n\nTexture contains arbitrary data \n\n#### public static final Texture.Usage\n**NORMAL**\n\nTexture contains a normal map"]]