Texture

  • Texture represents a reference to a texture in Sceneform.

  • It offers a Builder class to construct and customize textures.

  • Texture.Sampler controls how textures are sampled during rendering.

  • Texture.Usage defines the intended use case for the texture.

public class Texture

Represents a reference to a texture.

Nested Classes

class
Factory class for Texture
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

Public Methods

public static Texture.Builder builder ()

Constructs a default texture, if nothing else is set

Design a Mobile Site
View Site in Mobile | Classic
Share by: