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
bufferIndex
int
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
arrayOrDepthSlice
intFor 3D image, the parameter is the Z slice, otherwise it is an index into the texture array.
mipIndex
intThe 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
arrayIndex
intIndex into the texture array. Must be set to 0 for 3D images.
zIndex
intZ index for 3D image. Must be set to 0 for all 1D/2D images.
mipIndex
intThe mip map slice index.