Copy a region from a source resource to a destination resource.
シンタックス
'宣言
Public Sub CopySubresourceRegion( _
ByVal As Resource, _
ByVal As System.Integer, _
ByVal As System.Nullable(Of ResourceRegion), _
ByVal As Resource, _
ByVal As System.Integer, _
Optional ByVal As System.Integer, _
Optional ByVal As System.Integer, _
Optional ByVal As System.Integer _
)
public void CopySubresourceRegion(
Resource ,
System.int ,
System.Nullable<ResourceRegion> ,
Resource ,
System.int ,
System.int ,
System.int ,
System.int
)
パラメータ
- 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.
参照