ID2D1ConcreteTransform::SetOutputBuffer method
Sets the properties of the output buffer of the specified transform node.
Syntax
HRESULT SetOutputBuffer( D2D1_BUFFER_PRECISION bufferPrecision, D2D1_CHANNEL_DEPTH channelDepth );
Parameters
- bufferPrecision
-
Type: D2D1_BUFFER_PRECISION
The number of bits and the type of the output buffer.
- channelDepth
-
Type: D2D1_CHANNEL_DEPTH
The number of channels in the output buffer (1 or 4).
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 | One or more arguments are not valid |
Remarks
You can use the ID2D1EffectContext::IsBufferPrecisionSupported method to see if buffer precision is supported.
The available channel depth and precision depend on the capabilities of the underlying Microsoft Direct3D device.
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