Effect.StateManager Property (Microsoft.DirectX.Direct3D)

Retrieves or sets the EffectStateManager object for this effect.

Definition

Visual Basic Public Property StateManager As EffectStateManager
C# public EffectStateManager StateManager { get; set; }
C++ public:
property EffectStateManager^ StateManager {
        EffectStateManager^ get();
        void set(EffectStateManagervalue);
}
JScript public function get StateManager() : EffectStateManager
public function set StateManager(EffectStateManager);

Property Value

Microsoft.DirectX.Direct3D.EffectStateManager
An EffectStateManager object to set or retrieve.

This property is read/write. 

Remarks

EffectStateManager is a user-implemented class whose methods are used as callbacks to the application during effect rendering.

Exceptions

InvalidCallException

The method call is invalid. For example, a method's parameter might contain an invalid value.

InvalidDataException

The data is invalid.