Bitmap for WPF
UpdateSubresourceSafe<T>(T,Resource,Int32,Int32,Int32,Int32,Boolean) メソッド

C1.WPF.DX.4.5.2 アセンブリ > C1.Util.DX.Direct3D11 名前空間 > DeviceContext クラス > UpdateSubresourceSafe メソッド : UpdateSubresourceSafe<T>(T,Resource,Int32,Int32,Int32,Int32,Boolean) メソッド
Type of the data to upload
A reference to the data to upload.
The destination resource.
The size in bytes per pixel/block element.
The destination subresource.
The row pitch.
The depth pitch.
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(Of T As {New, Struct})( _
   ByRef data As T, _
   ByVal resource As Resource, _
   ByVal srcBytesPerElement As System.Integer, _
   Optional ByVal subresource As System.Integer, _
   Optional ByVal rowPitch As System.Integer, _
   Optional ByVal depthPitch As System.Integer, _
   Optional ByVal isCompressedResource As System.Boolean _
) 
public void UpdateSubresourceSafe<T>( 
   ref T data,
   Resource resource,
   System.int srcBytesPerElement,
   System.int subresource,
   System.int rowPitch,
   System.int depthPitch,
   System.bool isCompressedResource
)
where T: new(), struct

パラメータ

data
A reference to the data to upload.
resource
The destination resource.
srcBytesPerElement
The size in bytes per pixel/block element.
subresource
The destination subresource.
rowPitch
The row pitch.
depthPitch
The depth pitch.
isCompressedResource
if set to truethe resource is a block/compressed resource

型パラメータ

T
Type of the data to upload
参照

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