Table of Contents

Method CreateResourceTexture3D

Namespace
PaintDotNet.Direct2D1
Assembly
PaintDotNet.Windows.dll

CreateResourceTexture3D(IDeviceEffectContext, in Guid?, int, int, int, BufferPrecision, ChannelDepth, TextureFilter, ExtendMode, ExtendMode, ExtendMode)

public static IResourceTexture CreateResourceTexture3D(this IDeviceEffectContext effectContext, in Guid? resourceID, int extentX, int extentY, int extentZ, BufferPrecision bufferPrecision, ChannelDepth channelDepth, TextureFilter filter, ExtendMode extendModeX, ExtendMode extendModeY, ExtendMode extendModeZ)

Parameters

effectContext IDeviceEffectContext
resourceID Guid?
extentX int
extentY int
extentZ int
bufferPrecision BufferPrecision
channelDepth ChannelDepth
filter TextureFilter
extendModeX ExtendMode
extendModeY ExtendMode
extendModeZ ExtendMode

Returns

IResourceTexture

CreateResourceTexture3D<T>(IDeviceEffectContext, in Guid?, int, int, int, BufferPrecision, ChannelDepth, TextureFilter, ExtendMode, ExtendMode, ExtendMode, ExtentPtr<T>, uint, uint)

public static IResourceTexture CreateResourceTexture3D<T>(this IDeviceEffectContext effectContext, in Guid? resourceID, int extentX, int extentY, int extentZ, BufferPrecision bufferPrecision, ChannelDepth channelDepth, TextureFilter filter, ExtendMode extendModeX, ExtendMode extendModeY, ExtendMode extendModeZ, ExtentPtr<T> data, uint rowStride, uint planeStride) where T : unmanaged

Parameters

effectContext IDeviceEffectContext
resourceID Guid?
extentX int
extentY int
extentZ int
bufferPrecision BufferPrecision
channelDepth ChannelDepth
filter TextureFilter
extendModeX ExtendMode
extendModeY ExtendMode
extendModeZ ExtendMode
data ExtentPtr<T>
rowStride uint
planeStride uint

Returns

IResourceTexture

Type Parameters

T