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.