ComponentOne Bitmap for WPF
C1.WPF.DX.4.6.2 Assembly / C1.Util.DX.DXGI Namespace / Device Class / CreateSurface Method

In This Topic
    CreateSurface Method
    In This Topic
    HRESULT IDXGIDevice::CreateSurface([In] const DXGI_SURFACE_DESC* pDesc,[In] unsigned int NumSurfaces,[In] unsigned int Usage,[In, Optional] const DXGI_SHARED_RESOURCE* pSharedResource,[Out] IDXGISurface** ppSurface)
    Syntax
    'Declaration
     
    Public Function CreateSurface( _
       ByRef descRef As SurfaceDescription, _
       ByVal numSurfaces As Integer, _
       ByVal usage As Integer, _
       ByVal sharedResourceRef As Nullable(Of SharedResource) _
    ) As Surface
    public Surface CreateSurface( 
       ref SurfaceDescription descRef,
       int numSurfaces,
       int usage,
       Nullable<SharedResource> sharedResourceRef
    )

    Parameters

    descRef
    numSurfaces
    usage
    sharedResourceRef
    See Also