ComponentOne Bitmap for WinForms
C1.Win.C1DX.4.8 Assembly / C1.Util.DX.Direct2D Namespace / EffectContext Class / CreateResourceTexture Method

In This Topic
    CreateResourceTexture Method
    In This Topic
    HRESULT ID2D1EffectContext::CreateResourceTexture([In, Optional] const GUID* resourceId,[In] const void* resourceTextureProperties,[In, Buffer, Optional] const unsigned char* data,[In, Buffer, Optional] const unsigned int* strides,[In] unsigned int dataSize,[Out, Fast] ID2D1ResourceTexture** resourceTexture)
    Syntax
    'Declaration
     
    Public Function CreateResourceTexture( _
       ByVal resourceId As System.Nullable(Of Guid), _
       ByVal resourceTextureProperties As System.IntPtr, _
       ByVal data() As System.Byte, _
       ByVal strides() As System.Integer, _
       ByVal dataSize As System.Integer _
    ) As ResourceTexture
    public ResourceTexture CreateResourceTexture( 
       System.Nullable<Guid> resourceId,
       System.IntPtr resourceTextureProperties,
       System.byte[] data,
       System.int[] strides,
       System.int dataSize
    )

    Parameters

    resourceId
    resourceTextureProperties
    data
    strides
    dataSize
    See Also