DataRectangle Struct
Namespace: Stride.GraphicsAssembly: Stride.dll
Provides a pointer to 2D data.
public struct DataRectangle
Name | Description | |
---|---|---|
Constructors | ||
DataRectangle(IntPtr, Int32) | Initializes a new instance of the DataRectangle class. |
|
Fields | ||
DataPointer | Gets or sets a pointer to the data. |
|
Pitch | Gets or sets the number of bytes per row. |
Constructors
DataRectangle(IntPtr, Int32)
Initializes a new instance of the DataRectangle class.
public DataRectangle(IntPtr dataPointer, int pitch)
Parameters
Type | Name | Description |
---|---|---|
System.IntPtr | dataPointer | The pointer to the data. |
System.Int32 | pitch | The stride. |
Fields
DataPointer
Gets or sets a pointer to the data.
public IntPtr DataPointer
Field Value
Type | Description |
---|---|
System.IntPtr | The stream. |
Pitch
Gets or sets the number of bytes per row.
public int Pitch
Field Value
Type | Description |
---|---|
System.Int32 | The row pitch in bytes. |
Inherited Members
System.ValueType.Equals(System.Object)
System.ValueType.GetHashCode()
System.ValueType.ToString()