Paradox Game Engine  v1.0.0 beta06
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros Pages
SiliconStudio.Paradox.Graphics.DataRectangle Struct Reference

Provides a pointer to 2D data. More...

Public Member Functions

 DataRectangle (IntPtr dataPointer, int pitch)
 Initializes a new instance of the DataRectangle class. More...
 

Public Attributes

IntPtr DataPointer
 Gets or sets a pointer to the data. More...
 
int Pitch
 Gets or sets the number of bytes per row. More...
 

Detailed Description

Provides a pointer to 2D data.

Definition at line 12 of file DataRectangle.cs.

Constructor & Destructor Documentation

SiliconStudio.Paradox.Graphics.DataRectangle.DataRectangle ( IntPtr  dataPointer,
int  pitch 
)

Initializes a new instance of the DataRectangle class.

Parameters
dataPointerThe pointer to the data.
pitchThe stride.

Definition at line 19 of file DataRectangle.cs.

Member Data Documentation

IntPtr SiliconStudio.Paradox.Graphics.DataRectangle.DataPointer

Gets or sets a pointer to the data.

The stream.

Definition at line 31 of file DataRectangle.cs.

int SiliconStudio.Paradox.Graphics.DataRectangle.Pitch

Gets or sets the number of bytes per row.

The row pitch in bytes.

Definition at line 39 of file DataRectangle.cs.


The documentation for this struct was generated from the following file: