Freigeben über


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)

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

.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