Bitmap for WPF
MapSubresource(Texture2D,Int32,Int32,MapMode,MapFlags,DataStream) メソッド

C1.WPF.DX.4.5.2 アセンブリ > C1.Util.DX.Direct3D11 名前空間 > DeviceContext クラス > MapSubresource メソッド : MapSubresource(Texture2D,Int32,Int32,MapMode,MapFlags,DataStream) メソッド
The resource.
The mip slice.
The array slice.
The mode.
The flags.
The output stream containing the pointer.
Maps the data contained in a subresource to a memory pointer, and denies the GPU access to that subresource.
シンタックス
'宣言
 
Public Overloads Function MapSubresource( _
   ByVal resource As Texture2D, _
   ByVal mipSlice As System.Integer, _
   ByVal arraySlice As System.Integer, _
   ByVal mode As MapMode, _
   ByVal flags As MapFlags, _
   ByRef stream As DataStream _
) As DataBox
public DataBox MapSubresource( 
   Texture2D resource,
   System.int mipSlice,
   System.int arraySlice,
   MapMode mode,
   MapFlags flags,
   out DataStream stream
)

パラメータ

resource
The resource.
mipSlice
The mip slice.
arraySlice
The array slice.
mode
The mode.
flags
The flags.
stream
The output stream containing the pointer.

戻り値の型

参照

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