CopySubresourceRegion Method
In This Topic
Copy a region from a source resource to a destination resource.
Syntax
'Declaration
Public Sub CopySubresourceRegion( _
ByVal As Resource, _
ByVal As Integer, _
ByVal As Nullable(Of ResourceRegion), _
ByVal As Resource, _
ByVal As Integer, _
Optional ByVal As Integer, _
Optional ByVal As Integer, _
Optional ByVal As Integer _
)
public void CopySubresourceRegion(
Resource ,
int ,
Nullable<ResourceRegion> ,
Resource ,
int ,
int ,
int ,
int
)
Parameters
- source
- A reference to the source resource (see Resource).
- sourceSubresource
- Source subresource index.
- sourceRegion
- A reference to a 3D box (see ResourceRegion) that defines the source subresources that can be copied. If NULL, the entire source subresource is copied. The box must fit within the source resource.
- destination
- A reference to the destination resource (see Resource).
- destinationSubResource
- Destination subresource index.
- dstX
- The x-coordinate of the upper left corner of the destination region.
- dstY
- The y-coordinate of the upper left corner of the destination region. For a 1D subresource, this must be zero.
- dstZ
- The z-coordinate of the upper left corner of the destination region. For a 1D or 2D subresource, this must be zero.
See Also