Share via


BaseEffect.Finalize() Method (Microsoft.DirectX.Direct3D)

Allows the BaseEffect object to free resources before it is destroyed by the garbage collector.

Definition

Visual Basic Overrides Protected Sub Finalize()
C# ~BaseEffect();
C++ !BaseEffect();
JScript protected override function Finalize();

Remarks

Called during garbage collection.

Applies To

Effect, EffectCompiler