Method CreateResourceTexture1D
- Namespace
- PaintDotNet.Direct2D1
- Assembly
- PaintDotNet.Windows.dll
CreateResourceTexture1D(IDeviceEffectContext, in Guid?, int, BufferPrecision, ChannelDepth, TextureFilter, ExtendMode)
public static IResourceTexture CreateResourceTexture1D(this IDeviceEffectContext effectContext, in Guid? resourceID, int extentX, BufferPrecision bufferPrecision, ChannelDepth channelDepth, TextureFilter filter, ExtendMode extendMode)
Parameters
effectContext
IDeviceEffectContextresourceID
Guid?extentX
intbufferPrecision
BufferPrecisionchannelDepth
ChannelDepthfilter
TextureFilterextendMode
ExtendMode
Returns
CreateResourceTexture1D<T>(IDeviceEffectContext, in Guid?, int, BufferPrecision, ChannelDepth, TextureFilter, ExtendMode, ExtentPtr<T>)
public static IResourceTexture CreateResourceTexture1D<T>(this IDeviceEffectContext effectContext, in Guid? resourceID, int extentX, BufferPrecision bufferPrecision, ChannelDepth channelDepth, TextureFilter filter, ExtendMode extendMode, ExtentPtr<T> data) where T : unmanaged
Parameters
effectContext
IDeviceEffectContextresourceID
Guid?extentX
intbufferPrecision
BufferPrecisionchannelDepth
ChannelDepthfilter
TextureFilterextendMode
ExtendModedata
ExtentPtr<T>
Returns
Type Parameters
T