Table of Contents

Struct DataRectangle

Namespace
Stride.Graphics
Assembly
Stride.dll

Provides a pointer to 2D data.

public struct DataRectangle
Inherited Members

Constructors

DataRectangle(nint, int)

Initializes a new instance of the DataRectangle class.

public DataRectangle(nint dataPointer, int pitch)

Parameters

dataPointer nint

The pointer to the data.

pitch int

The stride.

Fields

DataPointer

Gets or sets a pointer to the data.

public nint DataPointer

Field Value

nint

The stream.

Pitch

Gets or sets the number of bytes per row.

public int Pitch

Field Value

int

The row pitch in bytes.