UNPKG

cesium

Version:

CesiumJS is a JavaScript library for creating 3D globes and 2D maps in a web browser without a plugin.

24 lines (22 loc) 592 B
/** * Determines how input texture to a {@link PostProcessStage} is sampled. * * @exports PostProcessStageSampleMode */ var PostProcessStageSampleMode = { /** * Samples the texture by returning the closest texel. * * @type {Number} * @constant */ NEAREST : 0, /** * Samples the texture through bi-linear interpolation of the four nearest texels. * * @type {Number} * @constant */ LINEAR : 1 }; export default PostProcessStageSampleMode;