TextureArgument Enumeration (Microsoft.DirectX.Direct3D)
Defines the supported texture arguments.
Visual Basic Public Enum TextureArgument C# public enum TextureArgument C++ public enum class TextureArgument JScript public enum TextureArgument
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.
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.
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