API / geotoolkit3d / scene / volumetric / Constants / SamplingMode
volumetric.Constants.SamplingMode
Sampling Mode.
This enum is used to describe the sampling mode of the volume data texture.
Enumeration Members
• Cubic = "Cubic"
Cubic Interpolation mode
Use tri-cubic filtering (also called cubic interpolation) to sample the volume data texture.
Warning: this filtering is much slower compared to Nearest and Linear mode, due to the increased sampling.
It is not recommended to use this filtering with lower-end GPUs and devices such as older integrated GPUs.
To mitigate performance impact, a lower sampling rate can be set on the Volume object.
• Linear = "Linear"
Linear Interpolation mode
Use tri-linear filtering (also called linear interpolation) to sample the volume data texture.
• Nearest = "Nearest"
Nearest Neighbor mode
Use nearest neighbor (also called step interpolation) to sample the volume data texture.