Struct SubBlockAttachmentMaskInfoGeneral#

Struct Documentation#

struct SubBlockAttachmentMaskInfoGeneral#

The data structure “Mask Info” (as found in the sub-block attachment of type “chunkstore”) which describes a valid pixel mask.

Public Members

std::uint32_t width#

The width of the mask in pixels.

std::uint32_t height#

The height of the mask in pixels.

std::uint32_t type_of_representation#

The type of representation of the mask data (in the blob given by ‘data’ below). Currently, the only defined type is: 0 : uncompressed bitonal bitmap.

size_t size_data#

The size of the data blob (in bytes).

std::shared_ptr<const void> data#

The actual data blob representing the mask.