BlendingMode

Blending modes determine how material color combines with background color.

Blending modes determine how material color combines with background color.

Blending modes determine how material color combines with background color.

Blending modes determine how material color combines with background color.

Blending modes determine how material color combines with background color.

Entries

Link copied to clipboard

Opaque material; no blending (default).

Opaque material; no blending (default).

Opaque material; no blending (default).

Opaque material; no blending (default).

Opaque material; no blending (default).

Link copied to clipboard

Transparent with alpha pre-multiplication; affects diffuse only.

Transparent with alpha pre-multiplication; affects diffuse only.

Transparent with alpha pre-multiplication; affects diffuse only.

Transparent with alpha pre-multiplication; affects diffuse only.

Transparent with alpha pre-multiplication; affects diffuse only.

Link copied to clipboard

Additive blending; brightens background. Used for glows, holograms.

Additive blending; brightens background. Used for glows, holograms.

Additive blending; brightens background. Used for glows, holograms.

Additive blending; brightens background. Used for glows, holograms.

Additive blending; brightens background. Used for glows, holograms.

Link copied to clipboard

Alpha-tested; either fully opaque or fully transparent per pixel.

Alpha-tested; either fully opaque or fully transparent per pixel.

Alpha-tested; either fully opaque or fully transparent per pixel.

Alpha-tested; either fully opaque or fully transparent per pixel.

Alpha-tested; either fully opaque or fully transparent per pixel.

Link copied to clipboard

Transparent with alpha pre-multiplication; affects specular.

Transparent with alpha pre-multiplication; affects specular.

Transparent with alpha pre-multiplication; affects specular.

Transparent with alpha pre-multiplication; affects specular.

Transparent with alpha pre-multiplication; affects specular.

Link copied to clipboard

Multiplicative blending; darkens background.

Multiplicative blending; darkens background.

Multiplicative blending; darkens background.

Multiplicative blending; darkens background.

Multiplicative blending; darkens background.

Link copied to clipboard

Screen blending; brightens with color.

Screen blending; brightens with color.

Screen blending; brightens with color.

Screen blending; brightens with color.

Screen blending; brightens with color.

Link copied to clipboard

Custom blending using backend-specific blend function.

Custom blending using backend-specific blend function.

Custom blending using backend-specific blend function.

Custom blending using backend-specific blend function.

Custom blending using backend-specific blend function.

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Returns a representation of an immutable list of all enum entries, in the order they're declared.

name
Link copied to clipboard
expect val name: String
ordinal
Link copied to clipboard
expect val ordinal: Int

Functions

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.

Returns an array containing the constants of this enum type, in the order they're declared.

Returns an array containing the constants of this enum type, in the order they're declared.

Returns an array containing the constants of this enum type, in the order they're declared.

Returns an array containing the constants of this enum type, in the order they're declared.