A simple struct that serves as a value of a
sampler2D
-valued
uniform. This is used with CustomShader
and TextureManager
Name | Type | Default | Description | ||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
Object |
An object with the following properties:
|
|||||||||||||||||||||||||||||||||
textureMinificationFilter |
TextureMinificationFilter |
TextureMinificationFilter.LINEAR
|
optional The minification filter of the texture sampler. | ||||||||||||||||||||||||||||||||
textureMagnificationFilter |
TextureMagnificationFilter |
TextureMagnificationFilter.LINEAR
|
optional The magnification filter of the texture sampler. | ||||||||||||||||||||||||||||||||
options.maximumAnisotropy |
Number |
1.0
|
optional The maximum anisotropy of the texture sampler |
Experimental
This feature is using part of the 3D Tiles spec that is not final and is subject to change without Cesium's standard deprecation policy.