Skip to content

Latest commit

 

History

History
98 lines (69 loc) · 3.58 KB

nf-d2d1effectauthor-id2d1renderinfo-setoutputbuffer.md

File metadata and controls

98 lines (69 loc) · 3.58 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:d2d1effectauthor.ID2D1RenderInfo.SetOutputBuffer
ID2D1RenderInfo::SetOutputBuffer (d2d1effectauthor.h)
Allows a caller to control the output precision and channel-depth of the transform in which the render information is encapsulated.
ID2D1RenderInfo interface [Direct2D]
SetOutputBuffer method
ID2D1RenderInfo.SetOutputBuffer
ID2D1RenderInfo::SetOutputBuffer
SetOutputBuffer
SetOutputBuffer method [Direct2D]
SetOutputBuffer method [Direct2D]
ID2D1RenderInfo interface
d2d1effectauthor/ID2D1RenderInfo::SetOutputBuffer
direct2d.id2d1renderinfo_setoutputbuffer
direct2d\id2d1renderinfo_setoutputbuffer.htm
Direct2D
4267FCA0-10AF-4731-8B68-B3425FA00185
12/05/2018
ID2D1RenderInfo interface [Direct2D],SetOutputBuffer method, ID2D1RenderInfo.SetOutputBuffer, ID2D1RenderInfo::SetOutputBuffer, SetOutputBuffer, SetOutputBuffer method [Direct2D], SetOutputBuffer method [Direct2D],ID2D1RenderInfo interface, d2d1effectauthor/ID2D1RenderInfo::SetOutputBuffer, direct2d.id2d1renderinfo_setoutputbuffer
d2d1effectauthor.h
Windows
Windows 8 and Platform Update for Windows 7 [desktop apps \| UWP apps]
Windows Server 2012 and Platform Update for Windows Server 2008 R2 [desktop apps \| UWP apps]
D2d1.lib
Windows
19H1
ID2D1RenderInfo::SetOutputBuffer
d2d1effectauthor/ID2D1RenderInfo::SetOutputBuffer
c++
APIRef
kbSyntax
COM
d2d1.lib
d2d1.dll
ID2D1RenderInfo.SetOutputBuffer

ID2D1RenderInfo::SetOutputBuffer

-description

Allows a caller to control the output precision and channel-depth of the transform in which the render information is encapsulated.

-parameters

-param bufferPrecision

Type: D2D1_BUFFER_PRECISION

The type of buffer that should be used as an output from this transform.

-param channelDepth

Type: D2D1_CHANNEL_DEPTH

The number of channels that will be used on the output buffer.

-returns

Type: HRESULT

If the method succeeds, it returns S_OK. If it fails, it returns an HRESULT error code.

-remarks

If the output precision of the transform is not specified, then it will default to the precision specified on the Direct2D device context. The maximum of 16bpc UNORM and 16bpc FLOAT is 32bpc FLOAT.

The output channel depth will match the maximum of the input channel depths if the channel depth is D2D1_CHANNEL_DEPTH_DEFAULT.

There is no global output channel depth, this is always left to the control of the transforms.

-see-also

D2D1_BUFFER_PRECISION

D2D1_CHANNEL_DEPTH

ID2D1DeviceContext::SetRenderingControls

ID2D1RenderInfo