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

C1.WPF.DX.4.5.2 アセンブリ > C1.Util.DX.Direct3D11 名前空間 > DeviceContext クラス > UpdateSubresourceSafe メソッド : UpdateSubresourceSafe(DataBox,Resource,Int32,Int32,Boolean) メソッド
The source data.
The destination resource.
The size in bytes per pixel/block element.
The destination subresource.
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, _
   Optional ByVal subresource As System.Integer, _
   Optional ByVal isCompressedResource As System.Boolean _
) 
public void UpdateSubresourceSafe( 
   DataBox source,
   Resource resource,
   System.int srcBytesPerElement,
   System.int subresource,
   System.bool isCompressedResource
)

パラメータ

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

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