ComponentOne Bitmap for WPF
C1.WPF.DX.4.5.2 Assembly / C1.Util.DX.Direct3D11 Namespace / Device Class / CreateTexture2D Method

In This Topic
    CreateTexture2D Method
    In This Topic
    HRESULT ID3D11Device::CreateTexture2D([In] const D3D11_TEXTURE2D_DESC* pDesc,[In, Buffer, Optional] const D3D11_SUBRESOURCE_DATA* pInitialData,[Out, Fast] ID3D11Texture2D** ppTexture2D)
    Syntax
    'Declaration
     
    Public Function CreateTexture2D( _
       ByRef descRef As Texture2DDescription, _
       ByVal initialDataRef() As DataBox _
    ) As Texture2D
    public Texture2D CreateTexture2D( 
       ref Texture2DDescription descRef,
       DataBox[] initialDataRef
    )

    Parameters

    descRef
    initialDataRef
    See Also