ComponentOne Bitmap for UWP
MapSubresource(Resource,Int32,Int32,MapMode,MapFlags,Int32) Method

C1.UWP.DX Assembly > C1.Util.DX.Direct3D11 Namespace > DeviceContext Class > MapSubresource Method : MapSubresource(Resource,Int32,Int32,MapMode,MapFlags,Int32) Method
The resource.
The mip slice.
The array slice.
The mode.
The flags.
Size of the selected miplevel.
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 resource As Resource, _
   ByVal mipSlice As System.Integer, _
   ByVal arraySlice As System.Integer, _
   ByVal mode As MapMode, _
   ByVal flags As MapFlags, _
   ByRef mipSize As System.Integer _
) As DataBox
public DataBox MapSubresource( 
   Resource resource,
   System.int mipSlice,
   System.int arraySlice,
   MapMode mode,
   MapFlags flags,
   out System.int mipSize
)

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

Reference

DeviceContext Class
DeviceContext Members
Overload List