Package dev.engine.core.layout
package dev.engine.core.layout
-
ClassDescriptionMarks a record as a GPU struct, triggering compile-time generation of a
*_NativeStructclass that provides reflection-freeStructLayoutregistration for all platforms (desktop, web/TeaVM, mobile).GPU buffer layout mode determining alignment rules.Marks a record for compile-time metadata and struct layout generation.Registry of record metadata populated at compile time by the@NativeStructannotation processor.Describes one record component: its name, type, and an accessor function that extracts the value from a record instance.Builds StructLayouts via reflection at runtime.A write function that serializes a record to native memory at a given offset.