Class PixelBufferArray
Used by Image to provide a selector to a PixelBuffer.
public sealed class PixelBufferArray
- Inheritance
-
PixelBufferArray
Properties
Count
Gets the total number of pixel buffers.
public int Count { get; }
Property Value
- int
The total number of pixel buffers.
this[int]
Gets the pixel buffer.
public PixelBuffer this[int bufferIndex] { get; }
Parameters
bufferIndexint
Property Value
this[int, int]
Gets the pixel buffer for the specified array/z slice and mipmap level.
public PixelBuffer this[int arrayOrDepthSlice, int mipIndex] { get; }
Parameters
arrayOrDepthSliceintFor 3D image, the parameter is the Z slice, otherwise it is an index into the texture array.
mipIndexintThe mip map slice index.
Property Value
this[int, int, int]
Gets the pixel buffer for the specified array/z slice and mipmap level.
public PixelBuffer this[int arrayIndex, int zIndex, int mipIndex] { get; }
Parameters
arrayIndexintIndex into the texture array. Must be set to 0 for 3D images.
zIndexintZ index for 3D image. Must be set to 0 for all 1D/2D images.
mipIndexintThe mip map slice index.