1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
| /**
| * 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;
|
|