ID2D1EffectContext

<summary> The internal context handed to effect authors to create transforms from effects and any other operation tied to context which is not useful to the application facing API. </summary>

Members

Functions

CreateColorContext
HRESULT CreateColorContext(D2D1_COLOR_SPACE space, const(BYTE)* profile, UINT32 profileSize, ID2D1ColorContext* colorContext)

<summary> Creates a color context from a color space. If the space is Custom, the context is initialized from the profile/profileSize arguments. Otherwise the context is initialized with the profile bytes associated with the space and profile/profileSize are ignored. </summary>

CreateEffect
HRESULT CreateEffect(REFCLSID effectId, ID2D1Effect* effect)

<summary> Create a new effect, the effect must either be built in or previously registered through ID2D1Factory1::RegisterEffect. </summary>

CreateTransformNodeFromEffect
HRESULT CreateTransformNodeFromEffect(ID2D1Effect effect, ID2D1TransformNode* transformNode)

<summary> Create a transform node from the passed in effect. </summary>

IsBufferPrecisionSupported
BOOL IsBufferPrecisionSupported(D2D1_BUFFER_PRECISION bufferPrecision)

<summary> Indicates whether the buffer precision is supported by D2D. </summary>

Meta