Defines how to combine source and destination colors for
blending operations.
Declaration Syntax
C# |
public enum BlendFunction
Members
Member | Description |
---|---|
Add |
Destination is added to the source. Result = (SourceColor * SourceBlend)
+ (DestinationColor * DestinationBlend).
|
Subtract |
Destination is subtracted from the source. Result = (SourceColor * SourceBlend)
- (DestinationColor * DestinationBlend).
|
ReverseSubtract |
The source is subtracted from the destination. Result = (DestinationColor * DestinationBlend)
- (SourceColor * SourceBlend).
|
Min |
The result is the minimum of source and destination. Result = min(SourceColor * SourceBlend),
(DestinationColor * DestinationBlend)).
|
Max |
The result is the maximum of source and destination. Result = max(SourceColor * SourceBlend),
(DestinationColor * DestinationBlend)).
|
Assembly: Tesla (Module: Tesla) Version: 0.5.0.0 (0.5.0.0)