Bitmap for WPF
CopySubresourceRegion メソッド

C1.WPF.DX.4.5.2 アセンブリ > C1.Util.DX.Direct3D11 名前空間 > DeviceContext クラス : CopySubresourceRegion メソッド
A reference to the source resource (see Resource).
Source subresource index.
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.
A reference to the destination resource (see Resource).
Destination subresource index.
The x-coordinate of the upper left corner of the destination region.
The y-coordinate of the upper left corner of the destination region. For a 1D subresource, this must be zero.
The z-coordinate of the upper left corner of the destination region. For a 1D or 2D subresource, this must be zero.
Copy a region from a source resource to a destination resource.
シンタックス
'宣言
 
Public Sub CopySubresourceRegion( _
   ByVal source As Resource, _
   ByVal sourceSubresource As System.Integer, _
   ByVal sourceRegion As System.Nullable(Of ResourceRegion), _
   ByVal destination As Resource, _
   ByVal destinationSubResource As System.Integer, _
   Optional ByVal dstX As System.Integer, _
   Optional ByVal dstY As System.Integer, _
   Optional ByVal dstZ As System.Integer _
) 
public void CopySubresourceRegion( 
   Resource source,
   System.int sourceSubresource,
   System.Nullable<ResourceRegion> sourceRegion,
   Resource destination,
   System.int destinationSubResource,
   System.int dstX,
   System.int dstY,
   System.int dstZ
)

パラメータ

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.
参照

DeviceContext クラス
DeviceContext メンバ