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.
| HRESULT | Description |
|---|---|
| S_OK | No error occurred. |
| E_INVALIDARG | An 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 |
|
|
Library |
|
See also