Skip to content

ludus::content::geometry_format::SectionEntry

Ludus Wiki · API overview · Browse API

Struct

One entry of the checked section directory.
Offset is measured from the blob start. A reader validates that Count * ElementBytes does not overflow, that [Offset, Offset + Count * ElementBytes) lies within the blob, is four-byte aligned, and does not overlap any other section.

Declared in modules/content/geometry_format/include/ludus/content/geometry_format/geometry_format.h

#include <ludus/content/geometry_format/geometry_format.h>
struct ludus::content::geometry_format::SectionEntry final

Fields

Id

uint32 ludus::content::geometry_format::SectionEntry::Id = 0
SectionId value.

Related types: uint32

Declared in modules/content/geometry_format/include/ludus/content/geometry_format/geometry_format.h

Offset

uint32 ludus::content::geometry_format::SectionEntry::Offset = 0
Byte offset from the blob start.

Related types: uint32

Declared in modules/content/geometry_format/include/ludus/content/geometry_format/geometry_format.h

Count

uint32 ludus::content::geometry_format::SectionEntry::Count = 0
Record count.

Related types: uint32

Declared in modules/content/geometry_format/include/ludus/content/geometry_format/geometry_format.h

ElementBytes

uint32 ludus::content::geometry_format::SectionEntry::ElementBytes = 0
Serialized width of one record, from its field schema.

Related types: uint32

Declared in modules/content/geometry_format/include/ludus/content/geometry_format/geometry_format.h