![]() |
![]() |
![]() |
ColorOperator.Add Method |
Language: |
Adds two color values together to create a new color value.
Visual Basic Public Shared Function Add( _
ByVal c1 As ColorValue, _
ByVal c2 As ColorValue _
) As ColorValueC# public static ColorValue Add(
ColorValue c1,
ColorValue c2
);C++ public:
static ColorValue Add(
ColorValue c1,
ColorValue c2
);JScript public static function Add(
c1 : ColorValue,
c2 : ColorValue
) : ColorValue;
c1 Microsoft.DirectX.Direct3D.ColorValue
A ColorValue object that specifies the color to add.c2 Microsoft.DirectX.Direct3D.ColorValue
A ColorValue object that specifies the color to add.
Microsoft.DirectX.Direct3D.ColorValue
Returns a ColorValue object that represents the sum of the two colors added together.
Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center