ComponentOne Bitmap for WinForms
C1.Win.C1DX.4.8 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 System.Integer, _
       ByVal usage As System.Integer, _
       ByVal sharedResourceRef As System.Nullable(Of SharedResource) _
    ) As Surface
    public Surface CreateSurface( 
       ref SurfaceDescription descRef,
       System.int numSurfaces,
       System.int usage,
       System.Nullable<SharedResource> sharedResourceRef
    )

    Parameters

    descRef
    numSurfaces
    usage
    sharedResourceRef
    See Also