Свойство | Тип | Описание | |
---|---|---|---|
data | |||
format | PixelFormat | ||
offset | int | ||
rowPitch | int | ||
slicePitch | int |
Метод | Описание | |
---|---|---|
Compressed ( PixelFormat format ) : bool |
I don't know how to figure this out. For now, just deal with the DXT* formats
|
|
GetSubVolume ( |
Return a subvolume of this PixelBox. This function does not copy any data, it just returns a PixelBox object with a data pointer pointing somewhere inside the data of object. Throws an Exception if def is not fully contained. |
|
PixelBox ( ) : System |
Parameter constructor for setting the members manually
|
|
PixelBox ( |
||
PixelBox ( int width, int height, int depth, PixelFormat format ) : System | ||
PixelBox ( int width, int height, int depth, PixelFormat format, |
Constructor providing width, height and depth. This constructor assumes the pixel data is laid out consecutively in memory. (this means row after row, slice after slice, with no space in between)
|
|
SetConsecutive ( ) : void |
Set the rowPitch and slicePitch so that the buffer is laid out consecutive in memory.
|
Метод | Описание | |
---|---|---|
PixelBox ( |
Constructor providing extents in the form of a Box object. This constructor assumes the pixel data is laid out consecutively in memory. (this means row after row, slice after slice, with no space in between)
|
public static Compressed ( PixelFormat format ) : bool | ||
format | PixelFormat | |
Результат | bool |
public GetSubVolume ( |
||
def | Defines the bounds of the subregion to return | |
Результат |
public PixelBox ( |
||
extents | ||
format | PixelFormat | |
Результат | System |
public PixelBox ( int width, int height, int depth, PixelFormat format ) : System | ||
width | int | |
height | int | |
depth | int | |
format | PixelFormat | |
Результат | System |
public PixelBox ( int width, int height, int depth, PixelFormat format, |
||
width | int | Width of the region |
height | int | Height of the region |
depth | int | Depth of the region |
format | PixelFormat | Format of this buffer |
data | Pointer to the actual data | |
Результат | System |