ComponentOne Bitmap for WPF
C1.WPF.DX.4.6.2 Assembly / C1.Util.DX.Direct3D11 Namespace / RenderTargetView Class / Create Method / Create(Device,Resource) Method
The device to use when creating this RenderTargetView.
The resource that represents the render-target surface. This surface must have been created with the RenderTarget flag.

In This Topic
    Create(Device,Resource) Method
    In This Topic
    Creates a RenderTargetView for accessing resource data.
    Syntax
    'Declaration
     
    Public Overloads Shared Function Create( _
       ByVal device As Device, _
       ByVal resource As Resource _
    ) As RenderTargetView
    public static RenderTargetView Create( 
       Device device,
       Resource resource
    )

    Parameters

    device
    The device to use when creating this RenderTargetView.
    resource
    The resource that represents the render-target surface. This surface must have been created with the RenderTarget flag.
    See Also