| // @flow | |
| import type {DepthFuncType, DepthMaskType, DepthRangeType} from './types'; | |
| const ALWAYS = 0x0207; | |
| class DepthMode { | |
| func: DepthFuncType; | |
| mask: DepthMaskType; | |
| range: DepthRangeType; | |
| // DepthMask enums | |
| static ReadOnly: boolean; | |
| static ReadWrite: boolean; | |
| constructor(depthFunc: DepthFuncType, depthMask: DepthMaskType, depthRange: DepthRangeType) { | |
| this.func = depthFunc; | |
| this.mask = depthMask; | |
| this.range = depthRange; | |
| } | |
| static disabled: $ReadOnly<DepthMode>; | |
| } | |
| DepthMode.ReadOnly = false; | |
| DepthMode.ReadWrite = true; | |
| DepthMode.disabled = new DepthMode(ALWAYS, DepthMode.ReadOnly, [0, 1]); | |
| export default DepthMode; | |
Xet Storage Details
- Size:
- 692 Bytes
- Xet hash:
- 22d3dd1b6dbc36ab9dcd5595ceffcb6c2c36a870bed7e49c7b7ef2d805b663a6
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.