- Sceneform SDK for Android
was open sourced and archived ( github.com/google-ar/sceneform-android-sdk
) with version 1.16.0.
- This site ( developers.google.com/sceneform
) serves as the documentation archive for the previous version, Sceneform SDK for Android
1.15.0.
- Do not use version 1.17.0 of the Sceneform Maven artifacts
.
- The 1.17.1 Maven artifacts can be used. Other than the version, however, the 1.17.1 artifacts are identical to the 1.15.0 artifacts.
Texture
Stay organized with collections
Save and categorize content based on your preferences.
Represents a reference to a texture.
Nested Classes
class
Controls what settings are used to sample Textures when rendering.
enum
Type of Texture usage.
Public Methods
builder
() Constructs a default texture, if nothing else is set
Inherited Methods
From class
java.lang.Object
Public Methods
Constructs a default texture, if nothing else is set
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\u003c/code\u003e represents a reference to a texture in Sceneform.\u003c/p\u003e\n"],["\u003cp\u003eIt offers a \u003ccode\u003eBuilder\u003c/code\u003e class to construct and customize textures.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eTexture.Sampler\u003c/code\u003e controls how textures are sampled during rendering.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eTexture.Usage\u003c/code\u003e defines the intended use case for the texture.\u003c/p\u003e\n"]]],["The `Texture` class represents a texture reference. It includes nested classes: `Texture.Builder` for creating textures, `Texture.Sampler` for defining sampling settings, and `Texture.Usage` for specifying texture usage types. It has a static public method `builder()` to construct a default texture. Additionally, it inherits methods from the `java.lang.Object` class, like `clone()`, `equals()`, `hashCode()`, and methods for thread management like `wait()` and `notify()`.\n"],null,["# Texture\n\npublic class **Texture** \nRepresents a reference to a texture. \n\n### Nested Classes\n\n|-------|---|---|---------------------------------------------------------------------------------------------|\n| class | [Texture.Builder](/sceneform/reference/com/google/ar/sceneform/rendering/Texture.Builder) || Factory class for [Texture](/sceneform/reference/com/google/ar/sceneform/rendering/Texture) |\n| class | [Texture.Sampler](/sceneform/reference/com/google/ar/sceneform/rendering/Texture.Sampler) || Controls what settings are used to sample Textures when rendering. |\n| enum | [Texture.Usage](/sceneform/reference/com/google/ar/sceneform/rendering/Texture.Usage) || Type of Texture usage. |\n\n### Public Methods\n\n|--------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------|\n| static [Texture.Builder](/sceneform/reference/com/google/ar/sceneform/rendering/Texture.Builder) | [builder](/sceneform/reference/com/google/ar/sceneform/rendering/Texture#builder())() Constructs a default texture, if nothing else is set |\n\n### Inherited Methods\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\nPublic Methods\n--------------\n\n#### public static [Texture.Builder](/sceneform/reference/com/google/ar/sceneform/rendering/Texture.Builder)\n**builder**\n()\n\nConstructs a default texture, if nothing else is set"]]