Table of Contents

Class PixelBufferArray

Namespace
Stride.Graphics
Assembly
Stride.dll

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

PixelBuffer

A PixelBuffer.

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 int

For 3D image, the parameter is the Z slice, otherwise it is an index into the texture array.

mipIndex int

The mip map slice index.

Property Value

PixelBuffer

A PixelBuffer.

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 int

Index into the texture array. Must be set to 0 for 3D images.

zIndex int

Z index for 3D image. Must be set to 0 for all 1D/2D images.

mipIndex int

The mip map slice index.

Property Value

PixelBuffer

A PixelBuffer.