[]
        
(Showing Draft Content)

C1.Util.DX.Direct3D11.RenderTargetView.Create

Create Method

Create(Device, Resource)

Creates a RenderTargetView for accessing resource data.

Declaration
public static RenderTargetView Create(Device device, Resource resource)
Parameters
Type Name Description
Device device

The device to use when creating this RenderTargetView.

Resource resource

The resource that represents the render-target surface. This surface must have been created with the RenderTarget flag.

Returns
Type Description
RenderTargetView

Create(Device, Resource, RenderTargetViewDescription)

Creates a RenderTargetView for accessing resource data.

Declaration
public static RenderTargetView Create(Device device, Resource resource, RenderTargetViewDescription description)
Parameters
Type Name Description
Device device

The device to use when creating this RenderTargetView.

Resource resource

The resource that represents the render-target surface. This surface must have been created with the RenderTarget flag.

RenderTargetViewDescription description

A structure describing the RenderTargetView to be created.

Returns
Type Description
RenderTargetView