Blending:Function:Source Property

Short Name: Blending.Function.Source

Requires: Full Development System

Class: SceneObject Properties

To Use: Create a property.

Reads or writes the blend factor you apply to the color values of the incoming fragment.

The following source and destination color components are described as (Rs, Gs, Bs, As) for source components and (Rd, Gd, Bd, Ad) for destination components.

The components have integer values between 0 and (kR, kG, kB, kA), where kR=2mR 1, kG=2mG 1, kB=2mB 1, and kA=2mA 1.

(mR, mG, mB, mA) is the number of bitplanes for each red, green, blue, and alpha value.

Values

0Zero— (default) (0, 0, 0, 0)
1One—(1, 1, 1, 1)
2Destination Color—(Rd/kR, Gd/kG, Bd/kB, Ad/kA)
3One Minus Destination Color—(1, 1, 1, 1)−(Rd/kR, Gd/kG, Bd/kB, Ad/kA)
4Source Alpha—(As/kA, As/kA, As/kA, As/kA)
5One Minus Source Alpha—(1, 1, 1, 1)−(As/kA, As/kA, As/kA, As/kA)
6Destination Alpha—(Ad/kA, Ad/kA, Ad/kA, Ad/kA)
7One Minus Destination Alpha—(1, 1, 1, 1)−(Ad/kA, Ad/kA, Ad/kA, Ad/kA)
8Source Alpha Saturate—(i, i, i, 1) where i=min (As, kA, Ad)/kA

Remarks

The following table lists the characteristics of this property.

Data type
PermissionsRead/Write
Available in Run-Time EngineYes
Available in Real-Time Operating SystemNo
Settable when the VI is runningYes
Loads the front panel into memoryNo
Need to authenticate before useNo
Loads the block diagram into memoryNo
Remote access allowedYes