FX Enumeration
|
Language: |
Note: This documentation is preliminary and is subject to change.
Defines flags for saving shader state.
Definition
Visual Basic .NET |
Public Enum FX |
C# |
public enum FX |
Managed C++ |
__value public enum FX |
JScript .NET |
public enum FX |
Members
Member |
Value |
Description |
None |
0 |
No state is saved or restored. |
DoNotSaveSamplerState |
4 |
Sampler state is not saved when calling Effect.Begin, or restored when calling Effect.End. |
DoNotSaveShaderState |
2 |
Shader state is not saved when calling Effect.Begin, or restored when calling Effect.End. |
DoNotSaveState |
1 |
Device state is not saved when calling Effect.Begin, or restored when calling Effect.End. |
Remarks
This enumeration is used in the Effect class to determine whether the state modified by an effect is saved and restored.
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