Export (0) Print
Expand All

TextureArgument Enumeration (Microsoft.DirectX.Direct3D)

Defines the supported texture arguments.

Definition

Visual Basic Public Enum TextureArgument
C# public enum TextureArgument
C++ public enum class TextureArgument
JScript public enum TextureArgument

Members

Member Value Description
Constant 6 Select a constant from a texture stage.
AlphaReplicate 32 Replicate the alpha value to the color components. During sampling, AlphaReplicate acts as a read modifier.
Complement 16 Take the complement, or 1.0 - x. This is a read modifier.
Temp 5 Specifies a temporary register color for read or write. Temp is supported if the SupportsTextureStageStateArgumentTemp device capability is present. The default value for the register is (0.0, 0.0, 0.0, 0.0). Permissions are read/write.
TFactor 3 Specifies the texture factor set in the RenderStateManager.TextureFactor property. Permissions are read-only.
TextureColor 2 Contains the texture color for the current texture stage. Permissions are read-only.
SelectMask 15 Mask value for all arguments; not used when setting texture arguments.
Specular 4 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.
Current 1 Gets the current element in the collection.
Diffuse 0 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.

Remarks

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

Use the TextureState property to set and retrieve texture arguments.

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

Enumeration Information

Namespace Microsoft.DirectX.Direct3D
Assembly Microsoft.DirectX.Direct3D (microsoft.directx.direct3d.dll)
Strong Name Microsoft.DirectX.Direct3D,  Version=1.0.900.0,  Culture=neutral,  PublicKeyToken=d3231b57b74a1492
Show:
© 2014 Microsoft