Compartir a través de


TextureStateManager.ColorArgument0 Property

Defines settings for the third color operand for triadic (multiply, add, and linear interpolation) operations identified by the TextureArgument enumeration.

Namespace: Microsoft.WindowsMobile.DirectX.Direct3D
Assembly: Microsoft.WindowsMobile.DirectX (in microsoft.windowsmobile.directx.dll)

Syntax

'Declaration
Public Property ColorArgument0 As TextureArgument
'Usage
Dim instance As TextureStateManager
Dim value As TextureArgument

value = instance.ColorArgument0

instance.ColorArgument0 = value
public TextureArgument ColorArgument0 { get; set; }
public:
property TextureArgument ColorArgument0 {
    TextureArgument get ();
    void set (TextureArgument value);
}
/** @property */
public TextureArgument get_ColorArgument0 ()

/** @property */
public void set_ColorArgument0 (TextureArgument value)
public function get ColorArgument0 () : TextureArgument

public function set ColorArgument0 (value : TextureArgument)
Not applicable.

Property Value

A TextureArgument that represents the current texture arguments.

Remarks

This property is supported if the SupportsMultiplyAdd or SupportsLerp properties of a TextureOperationCaps device capabilities are present.

The default TextureArgument argument is Current. Specify Temp to select a temporary register color for read or write. Temp is supported if the SupportsTextureStageStateArgumentTemp device capability of a MiscCaps is present. The default value for the register is (0.0, 0.0, 0.0, 0.0).

Platforms

Windows CE, Windows Mobile for Pocket PC, Windows Mobile for Smartphone

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

Version Information

.NET Compact Framework

Supported in: 2.0

See Also

Reference

TextureStateManager Class
TextureStateManager Members
Microsoft.WindowsMobile.DirectX.Direct3D Namespace