ID2D1RenderInfo::SetInputDescription method

Sets how a specific input to the transform should be handled by the renderer in terms of sampling.

Syntax


HRESULT SetInputDescription(
  UINT32 index,
  D2D1_INPUT_DESCRIPTION inputDescription
);

Parameters

index

Type: UINT32

The index of the input that will have the input description applied.

inputDescription

Type: D2D1_INPUT_DESCRIPTION

The description of the input to be applied to the transform.

Return value

Type: HRESULT

The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.

HRESULTDescription
S_OKNo error occurred.
E_INVALIDARGAn invalid parameter was passed to the returning function.

 

Remarks

The input description must be matched correctly by the effect shader code.

Requirements

Minimum supported client

Windows 8 and Platform Update for Windows 7 [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2012 and Platform Update for Windows Server 2008 R2 [desktop apps | Windows Store apps]

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Header

D2d1effectauthor.h

Library

D2d1.lib

See also

ID2D1RenderInfo
ID2D1DeviceContext::SetRenderingControls
D2D1_BUFFER_PRECISION
D2D1_CHANNEL_DEPTH

 

 

Community Additions

ADD
Show:
© 2014 Microsoft