ParameterFlags Enumeration

Language:

Defines shader and effect constants.

Definition

Visual Basic Public Enum ParameterFlags
C# public enum ParameterFlags
C++ public enum class ParameterFlags
JScript 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.900.0,  Culture=neutral,  PublicKeyToken=d3231b57b74a1492

Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.

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