Compartir a través de


IXRUIElement::SetEffect (Compact 2013)

3/28/2014

This method sets the pixel shader effect to use for rendering this UI element.

Syntax

virtual HRESULT STDMETHODCALLTYPE SetEffect(
    __in IXREffect* pEffect
) = 0;

Parameters

  • pEffect
    [in] Pointer to an IXREffect object that contains information about the pixel shader effect to use for rendering this UI element.

Return Value

Returns an HRESULT that indicates whether or not the method succeeded.

Remarks

.NET Framework Equivalent

System.Windows.UIElement.Effect

Requirements

Header

XamlRuntime.h

sysgen

SYSGEN_XAML_RUNTIME

See Also

Reference

IXRUIElement
IXRUIElement::GetEffect