Method CreateResourceTexture2D
- Namespace
- PaintDotNet.Direct2D1
- Assembly
- PaintDotNet.Windows.dll
CreateResourceTexture2D(IDeviceEffectContext, in Guid?, int, int, BufferPrecision, ChannelDepth, TextureFilter, ExtendMode, ExtendMode)
public static IResourceTexture CreateResourceTexture2D(this IDeviceEffectContext effectContext, in Guid? resourceID, int extentX, int extentY, BufferPrecision bufferPrecision, ChannelDepth channelDepth, TextureFilter filter, ExtendMode extendModeX, ExtendMode extendModeY)
Parameters
effectContext
IDeviceEffectContextresourceID
Guid?extentX
intextentY
intbufferPrecision
BufferPrecisionchannelDepth
ChannelDepthfilter
TextureFilterextendModeX
ExtendModeextendModeY
ExtendMode
Returns
CreateResourceTexture2D<T>(IDeviceEffectContext, in Guid?, int, int, BufferPrecision, ChannelDepth, TextureFilter, ExtendMode, ExtendMode, ExtentPtr<T>, uint)
public static IResourceTexture CreateResourceTexture2D<T>(this IDeviceEffectContext effectContext, in Guid? resourceID, int extentX, int extentY, BufferPrecision bufferPrecision, ChannelDepth channelDepth, TextureFilter filter, ExtendMode extendModeX, ExtendMode extendModeY, ExtentPtr<T> data, uint rowStride) where T : unmanaged
Parameters
effectContext
IDeviceEffectContextresourceID
Guid?extentX
intextentY
intbufferPrecision
BufferPrecisionchannelDepth
ChannelDepthfilter
TextureFilterextendModeX
ExtendModeextendModeY
ExtendModedata
ExtentPtr<T>rowStride
uint
Returns
Type Parameters
T