@snap/camera-kit
Version:
Camera Kit Web
39 lines (22 loc) • 1.1 kB
Markdown
[CameraKit Web SDK - v0.22.0](../README.md) / [Exports](../modules.md) / EstimatedLensPerformance
# Interface: EstimatedLensPerformance
Some lenses may decide to modify their behavior based on the performance of the current environment. If you are
using such lenses, providing an estimation of lens performance may lead to better user experience (especially on
low-performance devices).
The cluster value will be an integer from 1-6 which classifies expected lens performance, where 6 is the highest-
performing cluster and 1 the lowest.
All the raw benchmark results used to estimate the performance cluster are also included for reporting purposes.
## Table of contents
### Properties
- [cluster](EstimatedLensPerformance.md#cluster)
- [benchmarks](EstimatedLensPerformance.md#benchmarks)
- [webglRendererInfo](EstimatedLensPerformance.md#webglrendererinfo)
## Properties
### cluster
• **cluster**: [`LensPerformanceCluster`](../modules.md#lensperformancecluster)
___
### benchmarks
• **benchmarks**: `BenchmarkResult`[]
___
### webglRendererInfo
• **webglRendererInfo**: `string`