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

Provides access to data organized in 3D. More...

Inheritance diagram for SiliconStudio.Paradox.Graphics.DataBox:
IEquatable< DataBox >

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...
 

Detailed Description

Provides access to data organized in 3D.

Definition at line 12 of file DataBox.cs.

Constructor & Destructor Documentation

SiliconStudio.Paradox.Graphics.DataBox.DataBox ( IntPtr  datapointer,
int  rowPitch,
int  slicePitch 
)

Initializes a new instance of the DataBox struct.

Parameters
datapointerThe datapointer.
rowPitchThe row pitch.
slicePitchThe slice pitch.

Definition at line 25 of file DataBox.cs.

Member Function Documentation

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 bool SiliconStudio.Paradox.Graphics.DataBox.operator!= ( DataBox  left,
DataBox  right 
)
static

Implements the operator !=.

Parameters
leftThe left.
rightThe right.
Returns
The result of the operator.

Definition at line 98 of file DataBox.cs.

static bool SiliconStudio.Paradox.Graphics.DataBox.operator== ( DataBox  left,
DataBox  right 
)
static

Implements the operator ==.

Parameters
leftThe left.
rightThe right.
Returns
The result of the operator.

Definition at line 87 of file DataBox.cs.

Member Data Documentation

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.

Property Documentation

bool SiliconStudio.Paradox.Graphics.DataBox.IsEmpty
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.


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