SoVideoCaptureSampler2D

InventorModule

genre

Shader

author

Felix Ritter

package

FMEwork/ReleaseMeVis

dll

MLVideoCapture

definition

MLVideoCapture.def

keywords

vertex, fragment, geometry, shader

Purpose

Reads a 2D video frame from the VideoCapture module and provides it as a OpenGL shading language sampler (sampler2D).

Input Fields

inDriverAccess

name: inDriverAccess, type: MLBase

Connect this field to the VideoCapture.outDriverAccess field of a VideoCapture module.

Output Fields

self

name: self, type: SoNode

Parameter Fields

Field Index

Border Color: Vector4

Enable Border: Bool

Mag Filter: Enum

Min Filter: Enum

Name: String

Wrap S: Enum

Wrap T: Enum

Visible Fields

Name

name: name, type: String

Enable Border

name: enableBorder, type: Bool, default: FALSE

Border Color

name: borderColor, type: Vector4, default: 0 0 0 0

Min Filter

name: minFilter, type: Enum, default: LINEAR

Values:

Title

Name

Nearest

NEAREST

Linear

LINEAR

Nearest Mipmap Nearest

NEAREST_MIPMAP_NEAREST

Nearest Mipmap Linear

NEAREST_MIPMAP_LINEAR

Linear Mipmap Nearest

LINEAR_MIPMAP_NEAREST

Linear Mipmap Linear

LINEAR_MIPMAP_LINEAR

Mag Filter

name: magFilter, type: Enum, default: LINEAR

Values:

Title

Name

Nearest

NEAREST

Linear

LINEAR

Nearest Mipmap Nearest

NEAREST_MIPMAP_NEAREST

Nearest Mipmap Linear

NEAREST_MIPMAP_LINEAR

Linear Mipmap Nearest

LINEAR_MIPMAP_NEAREST

Linear Mipmap Linear

LINEAR_MIPMAP_LINEAR

Wrap S

name: wrapS, type: Enum, default: REPEAT

Values:

Title

Name

Repeat

REPEAT

Clamp

CLAMP

Clamp To Edge

CLAMP_TO_EDGE

Clamp To Border

CLAMP_TO_BORDER

Mirrored Repeat

MIRRORED_REPEAT

Wrap T

name: wrapT, type: Enum, default: REPEAT

Values:

Title

Name

Repeat

REPEAT

Clamp

CLAMP

Clamp To Edge

CLAMP_TO_EDGE

Clamp To Border

CLAMP_TO_BORDER

Mirrored Repeat

MIRRORED_REPEAT