Class EffectContext1
[Guid("84ab595a-fc81-4546-bacd-e8ef4d8abe7a")]
public class EffectContext1 : EffectContext
- Inheritance
-
EffectContext1
- Derived
- Inherited Members
Constructors
EffectContext1(nint)
public EffectContext1(nint nativePtr)
Parameters
nativePtr
nint
Methods
CreateLookupTable3D(BufferPrecision, int[], byte[], int, int[], out LookupTable3D)
Creates a 3D lookup table for mapping a 3-channel input to a 3-channel output. The table data must be provided in 4-channel format.
public void CreateLookupTable3D(BufferPrecision precision, int[] extents, byte[] data, int dataCount, int[] strides, out LookupTable3D lookupTable)
Parameters
precision
BufferPrecisionPrecision of the input lookup table data.
extents
int[]Number of lookup table elements per dimension (X, Y, Z).
data
byte[]Buffer holding the lookup table data.
dataCount
intSize of the lookup table data buffer.
strides
int[]An array containing two values. The first value is the size in bytes from one row (X dimension) of LUT data to the next. The second value is the size in bytes from one LUT data plane (X and Y dimensions) to the next.
lookupTable
LookupTable3DReceives the new lookup table instance.
Operators
explicit operator EffectContext1(nint)
public static explicit operator EffectContext1(nint nativePtr)
Parameters
nativePtr
nint