Enumeration EffectAttribute

An enumeration of effect attributes.

Attributes can be concatenated using the bitwise OR operator.

Example

const attributes = EffectAttribute.CONVOLUTION | EffectAttribute.DEPTH;

Enumeration Members

Enumeration Members

CONVOLUTION: number

Describes effects that fetch additional samples from the input buffer. There cannot be more than one effect with this attribute per EffectPass.

DEPTH: number

Describes effects that require a depth texture.

NONE: number

No attributes. Most effects don't need to specify any attributes.