[]
ID2D1ResourceTexture
[Guid("688d15c3-02b0-438d-b13a-d1b44c32c39a")]
public class ResourceTexture : ComObject, IDisposable, IUnknown
Initializes a new instance of the ResourceTexture class.
public ResourceTexture(IntPtr nativePtr)
nativePtr
System.IntPtrThe native pointer.
Initializes a new instance of BlendTransform class
public static ResourceTexture Create(EffectContext context, Guid resourceId, ResourceTextureProperties resourceTextureProperties, byte[] data, int[] strides)
context
EffectContextThe effect context
resourceId
System.GuidA unique identifier to the resource
resourceTextureProperties
ResourceTexturePropertiesThe description of the resource
data
byte[]Data
strides
int[]Strides
Initializes a new instance of BlendTransform class
public static ResourceTexture Create(EffectContext context, Guid resourceId, ResourceTextureProperties resourceTextureProperties)
context
EffectContextThe effect context
resourceId
System.GuidA unique identifier to the resource
resourceTextureProperties
ResourceTexturePropertiesThe description of the resource
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)
minimumExtents
int[]maximimumExtents
int[]strides
int[]dimensions
intdata
byte[]dataCount
intPerforms an explicit conversion from System.IntPtr to ResourceTexture.
public static explicit operator ResourceTexture(IntPtr nativePointer)
nativePointer
System.IntPtr