Skip to content

TriangleCullingMode

ptcloudclassOpenCV 5.0.0
import { TriangleCullingMode } from '@banou/opencv-wasm'

Use after await initOpenCV(). See the initialization and named imports guide.

ARGUMENTSConstructor or factory
CLASSTriangleCullingMode
RETURN TYPEOwned native handle
Call structure. A void return can still write to destination arguments. The parameter descriptions define inputs, outputs and ownership.

Native object: release it with using or delete(). Factories can return null; check before calling methods.

Face culling settings: what faces are drawn after face culling

Constructors and members

static RASTERIZE_CULLING_NONE

all faces are drawn, no culling is actually performed

RASTERIZE_CULLING_NONE: TriangleCullingModeValue<0>,

static RASTERIZE_CULLING_CW

triangles which vertices are given in clockwork order are drawn

RASTERIZE_CULLING_CW: TriangleCullingModeValue<1>,

static RASTERIZE_CULLING_CCW

triangles which vertices are given in counterclockwork order are drawn

RASTERIZE_CULLING_CCW: TriangleCullingModeValue<2>

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.