Maps the data contained in a subresource to a memory pointer, and denies the GPU access to that subresource.
シンタックス
'宣言
Public Overloads Function MapSubresource( _
ByVal As Texture3D, _
ByVal As System.Integer, _
ByVal As System.Integer, _
ByVal As MapMode, _
ByVal As MapFlags, _
ByRef As DataStream _
) As DataBox
public DataBox MapSubresource(
Texture3D ,
System.int ,
System.int ,
MapMode ,
MapFlags ,
out DataStream
)
パラメータ
- resource
- The resource.
- mipSlice
- The mip slice.
- arraySlice
- The array slice.
- mode
- The mode.
- flags
- The flags.
- stream
- The output stream containing the pointer.
戻り値の型
参照