Condividi tramite


TextureStateManager.ColorArgument1 Property

Defines the texture-stage state as the first 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 ColorArgument1 As TextureArgument
'Usage
Dim instance As TextureStateManager
Dim value As TextureArgument

value = instance.ColorArgument1

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

/** @property */
public void set_ColorArgument1 (TextureArgument value)
public function get ColorArgument1 () : TextureArgument

public function set ColorArgument1 (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