Share via


FX Enumeration (Microsoft.DirectX.Direct3D)

Defines flags for saving shader state.

Definition

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