[]
        
(Showing Draft Content)

GrapeCity.Documents.DX.Direct2D.ResourceTexture

Class ResourceTexture

Namespace
GrapeCity.Documents.DX.Direct2D
Assembly
GcDocs.DX.Windows.dll

ID2D1ResourceTexture

[Guid("688d15c3-02b0-438d-b13a-d1b44c32c39a")]
public class ResourceTexture : ComObject, IDisposable, IUnknown
Inheritance
object
ResourceTexture
Implements
System.IDisposable
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()

Constructors

ResourceTexture(IntPtr)

Initializes a new instance of the ResourceTexture class.

public ResourceTexture(IntPtr nativePtr)

Parameters

nativePtr System.IntPtr

The native pointer.

Methods

Create(EffectContext, Guid, ResourceTextureProperties, byte[], int[])

Initializes a new instance of BlendTransform class

public static ResourceTexture Create(EffectContext context, Guid resourceId, ResourceTextureProperties resourceTextureProperties, byte[] data, int[] strides)

Parameters

context EffectContext

The effect context

resourceId System.Guid

A unique identifier to the resource

resourceTextureProperties ResourceTextureProperties

The description of the resource

data byte[]

Data

strides int[]

Strides

Returns

ResourceTexture

Create(EffectContext, Guid, ResourceTextureProperties)

Initializes a new instance of BlendTransform class

public static ResourceTexture Create(EffectContext context, Guid resourceId, ResourceTextureProperties resourceTextureProperties)

Parameters

context EffectContext

The effect context

resourceId System.Guid

A unique identifier to the resource

resourceTextureProperties ResourceTextureProperties

The description of the resource

Returns

ResourceTexture

Update(int[], int[], int[], int, byte[], int)

HRESULT ID2D1ResourceTexture::Update([In, Buffer, Optional] const unsigned int* minimumExtents,[In, Buffer, Optional] const unsigned int* maximimumExtents,[In, Buffer, Optional] const unsigned int* strides,[In] unsigned int dimensions,[In, Buffer] const unsigned char* data,[In] unsigned int dataCount)

public void Update(int[] minimumExtents, int[] maximimumExtents, int[] strides, int dimensions, byte[] data, int dataCount)

Parameters

minimumExtents int[]
maximimumExtents int[]
strides int[]
dimensions int
data byte[]
dataCount int

Operators

explicit operator ResourceTexture(IntPtr)

Performs an explicit conversion from System.IntPtr to ResourceTexture.

public static explicit operator ResourceTexture(IntPtr nativePointer)

Parameters

nativePointer System.IntPtr

Returns

ResourceTexture