EffectStateManager Class |
Language: |
EffectStateManager is a user-implemented class that allows an application to set the device state from an effect. Each of the methods in this class must be implemented by the user and will then be used as a callback to the application when either of the following occur:
Visual Basic .NET MustInherit Public Class EffectStateManager
Inherits ObjectC# public abstract class EffectStateManager : Object Managed C++ public __gc __abstract class EffectStateManager : public Object JScript .NET public abstract class EffectStateManager extends Object
A user creates a class that inherits from EffectStateManager and implements all the methods. Once the derived class is created, you can get or set the state manager within an effect using Effect.StateManager.
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
Feedback? Please provide us with your comments on this topic.