luvcraft/world-fields.lisp
One distributed fact's identity and per-site meaning. #FKAV5Y
The inherited represented-value declaration describes a reading after its storage encoding has been resolved. REPRESENTATION-POLICY separately names the aggregate encoding, such as a palette-index column or a u8 level array.
Return the live voxel field definition named by name.
Return the definition object retained by materialization for field-name.
Return materialization's retained representation for field-name.
Return the finite site domain bound to representation.
Whether materialization still carries field-name's live definition object.
Define one inspectable voxel field through an EQL-specialized method.
One distributed fact's identity and per-site meaning. #FKAV5Y The inherited represented-value declaration describes a reading after its storage encoding has been resolved. REPRESENTATION-POLICY separately names the aggregate encoding, such as a palette-index column or a u8 level array.
One represented value's machine form and optional semantic meaning. The representation type and quantity judgment are deliberately parallel: two declarations may both use VEC3 while denoting different quantities, and one quantity may acquire different representations in different backends. #OXBSAY
(materialization field-name)Return the definition object retained by MATERIALIZATION for FIELD-NAME.
(materialization field-name)Return MATERIALIZATION's retained representation for FIELD-NAME.
(representation)Return the finite site domain bound to REPRESENTATION.
Expose a quantity's raw representation.
(materialization field-name)Logical conjunction of tests and raw truth values.
(name site-kind value-type quantity missing-value-semantics
legal-value-type representation-policy source-form)Construct a meaningful literal.
(options &key (default-tensor-order 0))Parse one source declaration plist into a quantity specification. Return NIL when OPTIONS contains no quantity attributes. This is the common source seam used by arithmetic parameters, shader interfaces, and semantic storage declarations; callers retain ownership of their source-specific error conditions and…
(name &key site-kind value-type quantity missing-value
legal-values representation)A field definition says which distributed fact one column represents. Its value quantity says what a reading at one site means. Its representation says how those readings are stored. These are three different identities. For example, sky light and block light are different fields: they have different sources and…
Inspectable definitions for distributed voxel facts.
A field definition is aggregate metadata, not a wrapper around site values. Existing chunks, light products, atlases, and snapshots retain their own specialized arrays and bind one definition object when they are materialized, making live redefinition visible without changing a lane.