Bitmap for WPF
UpdateSubresourceSafe(DataBox,Resource,Int32,Int32,ResourceRegion,Boolean) メソッド

C1.WPF.DX.4.5.2 アセンブリ > C1.Util.DX.Direct3D11 名前空間 > DeviceContext クラス > UpdateSubresourceSafe メソッド : UpdateSubresourceSafe(DataBox,Resource,Int32,Int32,ResourceRegion,Boolean) メソッド
The source data.
The destination resource.
The size in bytes per pixel/block element.
The destination subresource.
The destination region within the resource.
if set to truethe resource is a block/compressed resource
Copies data from the CPU to to a non-mappable subresource region.
シンタックス
'宣言
 
Public Overloads Sub UpdateSubresourceSafe( _
   ByVal source As DataBox, _
   ByVal resource As Resource, _
   ByVal srcBytesPerElement As System.Integer, _
   ByVal subresource As System.Integer, _
   ByVal region As ResourceRegion, _
   Optional ByVal isCompressedResource As System.Boolean _
) 
public void UpdateSubresourceSafe( 
   DataBox source,
   Resource resource,
   System.int srcBytesPerElement,
   System.int subresource,
   ResourceRegion region,
   System.bool isCompressedResource
)

パラメータ

source
The source data.
resource
The destination resource.
srcBytesPerElement
The size in bytes per pixel/block element.
subresource
The destination subresource.
region
The destination region within the resource.
isCompressedResource
if set to truethe resource is a block/compressed resource
参照

DeviceContext クラス
DeviceContext メンバ
オーバーロード一覧