ComponentOne Bitmap for WinForms
C1.Win.C1DX.4.8 Assembly / C1.Util.DX.Direct3D11 Namespace / DeviceContext Class / MapSubresource Method / MapSubresource(Buffer,MapMode,MapFlags,DataStream) Method
The resource.
The mode.
The flags.
The output stream containing the pointer.

In This Topic
    MapSubresource(Buffer,MapMode,MapFlags,DataStream) 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 resource As Buffer, _
       ByVal mode As MapMode, _
       ByVal flags As MapFlags, _
       ByRef stream As DataStream _
    ) As DataBox
    public DataBox MapSubresource( 
       Buffer resource,
       MapMode mode,
       MapFlags flags,
       out DataStream stream
    )

    Parameters

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

    Return Value

    See Also