struct PixelVolume

Represents a 3D region of pixels used for referencing pixel data.

Public

Constructors

PixelVolume

PixelVolume() = default

PixelVolume

PixelVolume(u32 left, u32 top, u32 right, u32 bottom)

PixelVolume

PixelVolume(u32 left, u32 top, u32 front, u32 right, u32 bottom, u32 back)

Methods

Contains

bool Contains(const PixelVolume &volume) const

Return true if the other box is a part of this one.

GetWidth

u32 GetWidth() const

GetHeight

u32 GetHeight() const

GetDepth

u32 GetDepth() const

Fields

Left

u32 Left

Top

u32 Top

Right

u32 Right

Bottom

u32 Bottom

Front

u32 Front

Back

u32 Back