Microsoft DirectX 9.0 SDK Update (October 2004)

ParameterFlags Enumeration

Language:

Note: This documentation is preliminary and is subject to change.

Defines shader and effect constants.

Definition

Visual Basic .NET Public Enum ParameterFlags
C# public enum ParameterFlags
Managed C++ __value public enum ParameterFlags
JScript .NET public enum ParameterFlags

Members

Member Value Description
Annotation 4 The parameter is marked as an annotation.
Shared 1 The value of a parameter will be shared by all effects in the same namespace. Changing the value in one effect will change it in all shared effects.
Literal 2 The parameter is marked as a literal value. Literal parameters cannot change after compile, allowing the compiler to optimize their usage. Shared parameters cannot be marked as a literal.

Enumeration Information

Namespace Microsoft.DirectX.Direct3D
Assembly Microsoft.DirectX.Direct3DX (microsoft.directx.direct3dx.dll)
Strong Name Microsoft.DirectX.Direct3DX,  Version=1.0.2902.0,  Culture=neutral,  PublicKeyToken=31bf3856ad364e35

© 2004 Microsoft Corporation. All rights reserved. Terms of use.

Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center