Class Texture.Sampler
- java.lang.Object
-
- com.google.ar.sceneform.rendering.Texture.Sampler
-
- Enclosing class:
- Texture
public static class Texture.Sampler extends java.lang.ObjectControls what settings are used to sample Textures when rendering.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTexture.Sampler.BuilderBuilder for constructing Sampler objects.static classTexture.Sampler.MagFilterOptions for Magnification Filter function.static classTexture.Sampler.MinFilterOptions for Minification Filter function.static classTexture.Sampler.WrapModeOptions for Wrap Mode function.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Texture.Sampler.Builderbuilder()Texture.Sampler.MagFiltergetMagFilter()Get the magnification function used whenever the level-of-detail function determines that the texture should be magnified.Texture.Sampler.MinFiltergetMinFilter()Get the minifying function used whenever the level-of-detail function determines that the texture should be minified.Texture.Sampler.WrapModegetWrapModeR()Get the wrap mode for texture coordinate R.Texture.Sampler.WrapModegetWrapModeS()Get the wrap mode for texture coordinate S.Texture.Sampler.WrapModegetWrapModeT()Get the wrap mode for texture coordinate T.
-
-
-
Method Detail
-
getMinFilter
public Texture.Sampler.MinFilter getMinFilter()
Get the minifying function used whenever the level-of-detail function determines that the texture should be minified.
-
getMagFilter
public Texture.Sampler.MagFilter getMagFilter()
Get the magnification function used whenever the level-of-detail function determines that the texture should be magnified.
-
getWrapModeS
public Texture.Sampler.WrapMode getWrapModeS()
Get the wrap mode for texture coordinate S. The wrap mode determines how a texture is rendered for uv coordinates outside the range of [0, 1].
-
getWrapModeT
public Texture.Sampler.WrapMode getWrapModeT()
Get the wrap mode for texture coordinate T. The wrap mode determines how a texture is rendered for uv coordinates outside the range of [0, 1].
-
getWrapModeR
public Texture.Sampler.WrapMode getWrapModeR()
Get the wrap mode for texture coordinate R. The wrap mode determines how a texture is rendered for uv coordinates outside the range of [0, 1].
-
builder
public static Texture.Sampler.Builder builder()
-
-