Struct Slice3D
Public
Slice of a 3D array.
This is a helper struct used in many jobs to make them work on a part of the data.
The outer array has the size outerSize.x * outerSize.y * outerSize.z, laid out as if the coordinates were sorted by the tuple (Y,Z,X). The inner array has the size slice.size.x * slice.size.y * slice.size.z, also laid out as if the coordinates were sorted by the tuple (Y,Z,X).
Public Methods
AssertMatchesInner<T>
(values)
Public
AssertMatchesOuter<T>
(values)
Public
AssertMatchesOuter<T>
(values)
Public
AssertSameSize
(other)
Public
InnerCoordinateToOuterIndex
(x, y, z)
Public
Slice3D
(outer, slice)
Public
Slice3D
(outerSize, slice)
Public
Public Variables
coversEverything
True if the slice covers the whole outer array.
Public
innerStrides
Public
int
Public
length
Public
outerSize
Public
Readonly
outerStartIndex
Public
outerStrides
Public
slice
Public
Readonly