(map: Map, interleaved: boolean)
| 98 | } |
| 99 | |
| 100 | export function getDefaultParameters(map: Map, interleaved: boolean): Parameters { |
| 101 | const result: Parameters = interleaved |
| 102 | ? { |
| 103 | depthWriteEnabled: true, |
| 104 | depthCompare: 'less-equal', |
| 105 | depthBias: 0, |
| 106 | blend: true, |
| 107 | blendColorSrcFactor: 'src-alpha', |
| 108 | blendColorDstFactor: 'one-minus-src-alpha', |
| 109 | blendAlphaSrcFactor: 'one', |
| 110 | blendAlphaDstFactor: 'one-minus-src-alpha', |
| 111 | blendColorOperation: 'add', |
| 112 | blendAlphaOperation: 'add' |
| 113 | } |
| 114 | : {}; |
| 115 | return result; |
| 116 | } |
| 117 | |
| 118 | export function drawLayerGroup( |
| 119 | deck: Deck, |
no outgoing calls
no test coverage detected
searching dependent graphs…