Skip to main content

Variable: Opaque

const Opaque: object

Defined in: color/alpha.ts:9

A shader module that draws every pixel opaque by setting alpha to 1.

For images whose fourth band isn't alpha, such as NAIP's near-infrared band, which a four-channel texture would otherwise draw as alpha.

Type Declaration​

inject​

readonly inject: object

inject.fs:DECKGL_FILTER_COLOR​

readonly fs:DECKGL_FILTER_COLOR: "\n color.a = 1.0;\n "

name​

readonly name: "opaque" = "opaque"