Table of Contents

Struct DataRectangle

Namespace
Stride.Graphics
Assembly
Stride.dll

Provides a pointer to 2D data.

public struct DataRectangle
Inherited Members

Constructors

DataRectangle(IntPtr, int)

Initializes a new instance of the DataRectangle class.

public DataRectangle(IntPtr dataPointer, int pitch)

Parameters

dataPointer IntPtr

The pointer to the data.

pitch int

The stride.

Fields

DataPointer

Gets or sets a pointer to the data.

public IntPtr DataPointer

Field Value

IntPtr

The stream.

Pitch

Gets or sets the number of bytes per row.

public int Pitch

Field Value

int

The row pitch in bytes.