Freigeben über


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)

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).

.NET Framework Security

  • Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see .

Platforms

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

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

Version Information

.NET Compact Framework

Supported in: 2.0

See Also

Reference

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