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>

version(Windows)
interface ID2D1EffectContext : IUnknown {}

Members

Functions

CheckFeatureSupport
HRESULT CheckFeatureSupport(D2D1_FEATURE feature, void* featureSupportData, UINT32 featureSupportDataSize)
Undocumented in source.
CreateBlendTransform
HRESULT CreateBlendTransform(UINT32 numInputs, const(D2D1_BLEND_DESCRIPTION)* blendDescription, ID2D1BlendTransform* transform)
Undocumented in source.
CreateBorderTransform
HRESULT CreateBorderTransform(D2D1_EXTEND_MODE extendModeX, D2D1_EXTEND_MODE extendModeY, ID2D1BorderTransform* transform)
Undocumented in source.
CreateBoundsAdjustmentTransform
HRESULT CreateBoundsAdjustmentTransform(const(D2D1_RECT_L)* outputRectangle, ID2D1BoundsAdjustmentTransform* transform)
Undocumented in source.
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>

CreateColorContextFromFilename
HRESULT CreateColorContextFromFilename(PCWSTR filename, ID2D1ColorContext* colorContext)
Undocumented in source.
CreateColorContextFromWicColorContext
HRESULT CreateColorContextFromWicColorContext(IWICColorContext wicColorContext, ID2D1ColorContext* colorContext)
Undocumented in source.
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>

CreateOffsetTransform
HRESULT CreateOffsetTransform(D2D1_POINT_2L offset, ID2D1OffsetTransform* transform)
Undocumented in source.
CreateResourceTexture
HRESULT CreateResourceTexture(const(GUID)* resourceId, const(D2D1_RESOURCE_TEXTURE_PROPERTIES)* resourceTextureProperties, const(BYTE)* data, const(UINT32)* strides, UINT32 dataSize, ID2D1ResourceTexture* resourceTexture)
Undocumented in source.
CreateTransformNodeFromEffect
HRESULT CreateTransformNodeFromEffect(ID2D1Effect effect, ID2D1TransformNode* transformNode)

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

CreateVertexBuffer
HRESULT CreateVertexBuffer(const(D2D1_VERTEX_BUFFER_PROPERTIES)* vertexBufferProperties, const(GUID)* resourceId, const(D2D1_CUSTOM_VERTEX_BUFFER_PROPERTIES)* customVertexBufferProperties, ID2D1VertexBuffer* buffer)
Undocumented in source.
FindResourceTexture
HRESULT FindResourceTexture(const(GUID)* resourceId, ID2D1ResourceTexture* resourceTexture)
Undocumented in source.
FindVertexBuffer
HRESULT FindVertexBuffer(const(GUID)* resourceId, ID2D1VertexBuffer* buffer)
Undocumented in source.
GetDpi
void GetDpi(FLOAT* dpiX, FLOAT* dpiY)
Undocumented in source.
GetMaximumSupportedFeatureLevel
HRESULT GetMaximumSupportedFeatureLevel(const(D3D_FEATURE_LEVEL)* featureLevels, UINT32 featureLevelsCount, D3D_FEATURE_LEVEL* maximumSupportedFeatureLevel)
Undocumented in source.
IsBufferPrecisionSupported
BOOL IsBufferPrecisionSupported(D2D1_BUFFER_PRECISION bufferPrecision)

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

IsShaderLoaded
BOOL IsShaderLoaded(REFGUID shaderId)
Undocumented in source.
LoadComputeShader
HRESULT LoadComputeShader(REFGUID resourceId, const(BYTE)* shaderBuffer, UINT32 shaderBufferCount)
Undocumented in source.
LoadPixelShader
HRESULT LoadPixelShader(REFGUID shaderId, const(BYTE)* shaderBuffer, UINT32 shaderBufferCount)
Undocumented in source.
LoadVertexShader
HRESULT LoadVertexShader(REFGUID resourceId, const(BYTE)* shaderBuffer, UINT32 shaderBufferCount)
Undocumented in source.

Meta