ComponentOne Bitmap for WPF
C1.WPF.DX.4.6.2 Assembly / C1.Util.DX.Direct3D9 Namespace / Device Class / CreateTexture Method

In This Topic
    CreateTexture Method
    In This Topic
    HRESULT IDirect3DDevice9::CreateTexture([In] unsigned int Width,[In] unsigned int Height,[In] unsigned int Levels,[In] unsigned int Usage,[In] D3DFORMAT Format,[In] D3DPOOL Pool,[Out, Fast] IDirect3DTexture9** ppTexture,[In] void** pSharedHandle)
    Syntax
    'Declaration
     
    Public Function CreateTexture( _
       ByVal width As Integer, _
       ByVal height As Integer, _
       ByVal levels As Integer, _
       ByVal usage As Integer, _
       ByVal format As Format, _
       ByVal pool As Pool, _
       ByVal sharedHandleRef As IntPtr _
    ) As Texture
    public Texture CreateTexture( 
       int width,
       int height,
       int levels,
       int usage,
       Format format,
       Pool pool,
       IntPtr sharedHandleRef
    )

    Parameters

    width
    height
    levels
    usage
    format
    pool
    sharedHandleRef
    See Also