[]
Provides access to data organized in 3D.
public struct DataBox
Initializes a new instance of the DataBox struct.
public DataBox(IntPtr datapointer, int rowPitch, int slicePitch)
datapointer System.IntPtrThe datapointer.
rowPitch intThe row pitch.
slicePitch intThe slice pitch.
Initializes a new instance of the DataBox struct.
public DataBox(IntPtr dataPointer)
dataPointer System.IntPtrThe data pointer.
Pointer to the data.
public IntPtr DataPointer
Gets the number of bytes per row.
public int RowPitch
Gets the number of bytes per slice (for a 3D texture, a slice is a 2D image)
public int SlicePitch
Gets a value indicating whether this instance is empty.
public bool IsEmpty { get; }
true if this instance is empty; otherwise, false.