Compartilhar via


TextureArgument Enumeration

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Defines the supported texture arguments.

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

Syntax

'Declaration
Public Enumeration TextureArgument
'Usage
Dim instance As TextureArgument
public enum TextureArgument
public enum class TextureArgument
type TextureArgument

Members

Member name Description
Supported by the .NET Compact Framework SelectMask Mask value for all arguments; not used when setting texture arguments.
Supported by the .NET Compact Framework Diffuse Specifies the diffuse color interpolated from vertex components during Gouraud shading. If the vertex does not contain a diffuse color, the default color is 0xFFFFFFFF. Permissions are read-only.
Supported by the .NET Compact Framework Current Gets the current element in the collection.
Supported by the .NET Compact Framework TextureColor Contains the texture color for the current texture stage. Permissions are read-only.
Supported by the .NET Compact Framework TFactor Specifies the texture factor set in the RenderStateManager.TextureFactor property. Permissions are read-only.
Supported by the .NET Compact Framework Specular Specifies the specular color interpolated from vertex components during Gouraud shading. If the vertex does not contain a specular color, the default color is 0xFFFFFFFF. Permissions are read-only.
Supported by the .NET Compact Framework Temp Specifies a temporary register color for read or write. This field is supported if the SupportsTextureStageStateArgumentTemp value for a DeviceCaps is present. The default value for the register is (0.0, 0.0, 0.0, 0.0). Permissions are read/write.
Supported by the .NET Compact Framework OptionMask Mask for option bits. These are the Complement and AlphaReplicate flags.
Supported by the .NET Compact Framework Complement Take the complement, or 1.0 - x. This is a read modifier.
Supported by the .NET Compact Framework AlphaReplicate Replicate the alpha value to the color components. During sampling, this value acts as a read modifier.

Remarks

This enumeration is used by the ColorArgument0, ColorArgument1, ColorArgument2, AlphaArgument0, AlphaArgument1, AlphaArgument2, and ResultArgument members of the TextureStateManager class.

Use the TextureState property of a Device to set and retrieve texture arguments.

An argument flag can be combined with a modifier, but two argument flags cannot be combined.

Platforms

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

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

Version Information

.NET Compact Framework

Supported in: 3.5, 2.0

See Also

Reference

Microsoft.WindowsMobile.DirectX.Direct3D Namespace

Other Resources

Mobile Direct3D Programming in the .NET Compact Framework