Table of Contents

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 IDeviceEffectContext
resourceID Guid?
extentX int
bufferPrecision BufferPrecision
channelDepth ChannelDepth
filter TextureFilter
extendMode ExtendMode

Returns

IResourceTexture

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 IDeviceEffectContext
resourceID Guid?
extentX int
bufferPrecision BufferPrecision
channelDepth ChannelDepth
filter TextureFilter
extendMode ExtendMode
data ExtentPtr<T>

Returns

IResourceTexture

Type Parameters

T