[]
        
(Showing Draft Content)

C1.Util.DX.Direct2D.RenderTarget.Create

Create Method

Create(Factory, Surface, ref RenderTargetProperties)

Creates a render target that draws to a DirectX Graphics Infrastructure (DXGI) surface.

Declaration
public static RenderTarget Create(Factory factory, Surface dxgiSurface, ref RenderTargetProperties properties)
Parameters
Type Name Description
Factory factory

an instance of Factory

Surface dxgiSurface

The dxgi surface to bind this render target to

RenderTargetProperties properties

The rendering mode, pixel format, remoting options, DPI information, and the minimum DirectX support required for hardware rendering. For information about supported pixel formats, see {{Supported Pixel Formats and Alpha Modes}}.

Returns
Type Description
RenderTarget