ResolveSubresource Method
In This Topic
Copy a multisampled resource into a non-multisampled resource.
Syntax
'Declaration
Public Sub ResolveSubresource( _
ByVal As Resource, _
ByVal As System.Integer, _
ByVal As Resource, _
ByVal As System.Integer, _
ByVal As Format _
)
public void ResolveSubresource(
Resource ,
System.int ,
Resource ,
System.int ,
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