Document Solutions for PDF
DS.Documents.DX.Windows Assembly / GrapeCity.Documents.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