![]() |
Paradox Game Engine
v1.0.0 beta06
|
Provides access to data organized in 3D. More...
Public Member Functions | |
DataBox (IntPtr datapointer, int rowPitch, int slicePitch) | |
Initializes a new instance of the DataBox struct. More... | |
bool | Equals (DataBox other) |
override bool | Equals (object obj) |
override int | GetHashCode () |
Static Public Member Functions | |
static bool | operator== (DataBox left, DataBox right) |
Implements the operator ==. More... | |
static bool | operator!= (DataBox left, DataBox right) |
Implements the operator !=. More... | |
Public Attributes | |
IntPtr | DataPointer |
Pointer to the data. More... | |
int | RowPitch |
Gets the number of bytes per row. More... | |
int | SlicePitch |
Gets the number of bytes per slice (for a 3D texture, a slice is a 2D image) More... | |
Properties | |
bool | IsEmpty [get] |
Gets a value indicating whether this instance is empty. More... | |
Provides access to data organized in 3D.
Definition at line 12 of file DataBox.cs.
SiliconStudio.Paradox.Graphics.DataBox.DataBox | ( | IntPtr | datapointer, |
int | rowPitch, | ||
int | slicePitch | ||
) |
Initializes a new instance of the DataBox struct.
datapointer | The datapointer. |
rowPitch | The row pitch. |
slicePitch | The slice pitch. |
Definition at line 25 of file DataBox.cs.
bool SiliconStudio.Paradox.Graphics.DataBox.Equals | ( | DataBox | other | ) |
Definition at line 59 of file DataBox.cs.
override bool SiliconStudio.Paradox.Graphics.DataBox.Equals | ( | object | obj | ) |
Definition at line 64 of file DataBox.cs.
override int SiliconStudio.Paradox.Graphics.DataBox.GetHashCode | ( | ) |
Definition at line 70 of file DataBox.cs.
|
static |
Implements the operator !=.
left | The left. |
right | The right. |
Definition at line 98 of file DataBox.cs.
|
static |
Implements the operator ==.
left | The left. |
right | The right. |
Definition at line 87 of file DataBox.cs.
IntPtr SiliconStudio.Paradox.Graphics.DataBox.DataPointer |
Pointer to the data.
Definition at line 35 of file DataBox.cs.
int SiliconStudio.Paradox.Graphics.DataBox.RowPitch |
Gets the number of bytes per row.
Definition at line 40 of file DataBox.cs.
int SiliconStudio.Paradox.Graphics.DataBox.SlicePitch |
Gets the number of bytes per slice (for a 3D texture, a slice is a 2D image)
Definition at line 45 of file DataBox.cs.
|
get |
Gets a value indicating whether this instance is empty.
true
if this instance is empty; otherwise, false
.
Definition at line 52 of file DataBox.cs.