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

C1.UWP.DX Assembly > C1.Util.DX.Direct3D11 Namespace > DeviceContext Class > MapSubresource Method : MapSubresource(Resource,Int32,MapMode,MapFlags,DataStream) Method
The resource.
The subresource.
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.
Syntax
'Declaration
 
Public Overloads Function MapSubresource( _
   ByVal resource As Resource, _
   ByVal subresource As System.Integer, _
   ByVal mode As MapMode, _
   ByVal flags As MapFlags, _
   ByRef stream As DataStream _
) As DataBox
public DataBox MapSubresource( 
   Resource resource,
   System.int subresource,
   MapMode mode,
   MapFlags flags,
   out DataStream stream
)

Parameters

resource
The resource.
subresource
The subresource.
mode
The mode.
flags
The flags.
stream
The output stream containing the pointer.

Return Value

See Also

Reference

DeviceContext Class
DeviceContext Members
Overload List