MapSubresource(Resource,Int32,Int32,MapMode,MapFlags,Int32) Method
In This Topic
Maps the data contained in a subresource to a memory pointer, and denies the GPU access to that subresource.
Syntax
'Declaration
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
)
Parameters
- resource
- The resource.
- mipSlice
- The mip slice.
- arraySlice
- The array slice.
- mode
- The mode.
- flags
- The flags.
- mipSize
- Size of the selected miplevel.
Return Value
See Also