ComponentOne Bitmap for WinForms
C1.Win.C1DX.4.8 Assembly / C1.Util.DX.Direct3D11 Namespace / DeviceContext Class / UpdateSubresource Method / UpdateSubresource(DataBox,Resource,Int32,ResourceRegion) Method
The source data.
The destination resource.
The destination subresource.
The destination region within the resource.

In This Topic
    UpdateSubresource(DataBox,Resource,Int32,ResourceRegion) Method
    In This Topic
    Copies data from the CPU to to a non-mappable subresource region.
    Syntax
    'Declaration
     
    Public Overloads Sub UpdateSubresource( _
       ByVal source As DataBox, _
       ByVal resource As Resource, _
       ByVal subresource As System.Integer, _
       ByVal region As ResourceRegion _
    ) 
    public void UpdateSubresource( 
       DataBox source,
       Resource resource,
       System.int subresource,
       ResourceRegion region
    )

    Parameters

    source
    The source data.
    resource
    The destination resource.
    subresource
    The destination subresource.
    region
    The destination region within the resource.
    See Also