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 Resource, _
ByVal As System.Integer, _
ByVal As System.Integer, _
ByVal As MapMode, _
ByVal As MapFlags, _
ByRef As System.Integer _
) As DataBox
public DataBox MapSubresource(
Resource ,
System.int ,
System.int ,
MapMode ,
MapFlags ,
out System.int
)
パラメータ
- resource
- The resource.
- mipSlice
- The mip slice.
- arraySlice
- The array slice.
- mode
- The mode.
- flags
- The flags.
- mipSize
- Size of the selected miplevel.
戻り値の型
参照