Editare

Partajați prin


Viewport3DVisual.BitmapEffectInput Property

Definition

Caution

Avoid using BitmapEffects as they have very poor performance characteristics. They will be deprecated in a future version. Consider using the UIElement.Effect property and ShaderEffects where appropriate instead.

Caution

BitmapEffects are deprecated and no longer function. Consider using Effects where appropriate instead.

Gets or sets the BitmapEffectInput applied to the Viewport3DVisual.

public:
 property System::Windows::Media::Effects::BitmapEffectInput ^ BitmapEffectInput { System::Windows::Media::Effects::BitmapEffectInput ^ get(); void set(System::Windows::Media::Effects::BitmapEffectInput ^ value); };
[System.Obsolete("Avoid using BitmapEffects as they have very poor performance characteristics.  They will be deprecated in a future version.  Consider using the UIElement.Effect property and ShaderEffects where appropriate instead.")]
public System.Windows.Media.Effects.BitmapEffectInput BitmapEffectInput { get; set; }
[System.Obsolete("BitmapEffects are deprecated and no longer function.  Consider using Effects where appropriate instead.")]
public System.Windows.Media.Effects.BitmapEffectInput BitmapEffectInput { get; set; }
[<System.Obsolete("Avoid using BitmapEffects as they have very poor performance characteristics.  They will be deprecated in a future version.  Consider using the UIElement.Effect property and ShaderEffects where appropriate instead.")>]
member this.BitmapEffectInput : System.Windows.Media.Effects.BitmapEffectInput with get, set
[<System.Obsolete("BitmapEffects are deprecated and no longer function.  Consider using Effects where appropriate instead.")>]
member this.BitmapEffectInput : System.Windows.Media.Effects.BitmapEffectInput with get, set
Public Property BitmapEffectInput As BitmapEffectInput

Property Value

BitmapEffectInput applied to the Viewport3DVisual.

Attributes

Remarks

BitmapEffectInput applies the BitmapEffect given in the BitmapEffect property to a specified region of the visual object.

Bitmap effects are software-rendered. Any object that applies an effect will also be rendered in software. Bitmap effects should not be applied to large visuals or animations as this can degrade performance.

Applies to