Compartir a través de


TextureStateManager.ColorArgument2 Property

Defines the texture-stage state as the second color argument for the stage identified by the TextureArgument enumeration.

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

Syntax

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

value = instance.ColorArgument2

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

/** @property */
public void set_ColorArgument2 (TextureArgument value)
public function get ColorArgument2 () : TextureArgument

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

Property Value

A TextureArgument that represents the current texture arguments.

Remarks

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