github
1184 of 1608 branches covered (73.63%)
Branch coverage included in aggregate %.
94 of 141 new or added lines in 25 files covered. (66.67%)
22907 existing lines in 275 files now uncovered.33302 of 63049 relevant lines covered (52.82%)
7.72 hits per line
1 |
import type {Device, Framebuffer} from '@luma.gl/core'; |
1✔ |
2 |
|
1✔ |
3 |
/**
|
1✔ |
4 |
* Create a float texture to store aggregation result |
1✔ |
5 |
*/ |
1✔ |
6 |
export function createRenderTarget(device: Device, width: number, height: number): Framebuffer {
|
|
UNCOV
7
|
return device.createFramebuffer({
|
× |
UNCOV
8
|
width, |
× |
UNCOV
9
|
height, |
× |
UNCOV
10
|
colorAttachments: [ |
× |
UNCOV
11
|
device.createTexture({ |
× |
UNCOV
12
|
width, |
× |
UNCOV
13
|
height, |
× |
UNCOV
14
|
format: 'rgba32float', |
× |
UNCOV
15
|
mipmaps: false,
|
× |
UNCOV
16
|
sampler: { |
× |
UNCOV
17
|
minFilter: 'nearest', |
× |
UNCOV
18
|
magFilter: 'nearest' |
× |
UNCOV
19
|
} |
× |
UNCOV
20
|
}) |
× |
UNCOV
21
|
] |
× |
UNCOV
22
|
}); |
× |
UNCOV
23
|
} |
× |