TriangleGlCompatibleMode
import { TriangleGlCompatibleMode } from '@banou/opencv-wasm'Use after await initOpenCV(). See the initialization and named imports guide.
ARGUMENTSConstructor or factory
CLASSTriangleGlCompatibleMode
RETURN TYPEOwned native handle
Native object: release it with using or delete(). Factories can return null; check before calling methods.
GL compatibility settings
Constructors and members
static RASTERIZE_COMPAT_DISABLED
Color and depth have their natural values and converted to internal formats if needed
RASTERIZE_COMPAT_DISABLED: TriangleGlCompatibleModeValue<0>,static RASTERIZE_COMPAT_INVDEPTH
Color is natural, Depth is transformed from [-zNear; -zFar] to [0; 1]
RASTERIZE_COMPAT_INVDEPTH: TriangleGlCompatibleModeValue<1>These signatures describe this package. Upstream documentation can mention optional backends that are absent from this build. Check runtime compatibility before choosing a backend or file format.