ComponentOne Bitmap for WinForms
C1.Win.C1DX.4.8 Assembly / C1.Util.DX.Direct3D11 Namespace / DeviceContext Class / ResolveSubresource Method
Source resource. Must be multisampled.
>The source subresource of the source resource.
Destination resource. Must be a created with the ResourceUsage.Default flag and be single-sampled. See Resource.
A zero-based index, that identifies the destination subresource. Use {{D3D11CalcSubresource}} to calculate the index.
A C1.Util.DX.DXGI.Format that indicates how the multisampled resource will be resolved to a single-sampled resource. See remarks.

In This Topic
    ResolveSubresource Method
    In This Topic
    Copy a multisampled resource into a non-multisampled resource.
    Syntax
    'Declaration
     
    Public Sub ResolveSubresource( _
       ByVal source As Resource, _
       ByVal sourceSubresource As System.Integer, _
       ByVal destination As Resource, _
       ByVal destinationSubresource As System.Integer, _
       ByVal format As Format _
    ) 
    public void ResolveSubresource( 
       Resource source,
       System.int sourceSubresource,
       Resource destination,
       System.int destinationSubresource,
       Format format
    )

    Parameters

    source
    Source resource. Must be multisampled.
    sourceSubresource
    >The source subresource of the source resource.
    destination
    Destination resource. Must be a created with the ResourceUsage.Default flag and be single-sampled. See Resource.
    destinationSubresource
    A zero-based index, that identifies the destination subresource. Use {{D3D11CalcSubresource}} to calculate the index.
    format
    A C1.Util.DX.DXGI.Format that indicates how the multisampled resource will be resolved to a single-sampled resource. See remarks.
    See Also