luvcraft/fields.lisp
Describe the semantic lanes in luvcraft's fixed 76-float frame block.
Return the five-vec4 camera prefix of the full frame product.
Flatten location-ordered shader inputs into one packed product layout.
Describe a clip position and its cursor-local offset as one packed vertex.
Validate raw vertices against one declared CPU and shader input product.
(name &key site-kind value-type quantity missing-value
legal-values representation)(positions specification)(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…
(extent projections)(name)Return the represented-value declaration published by global NAME, or NIL.
(&key representation-type quantity-specification quantity-layout source-form)(element-layout &key stride)An explicitly owned AVFrame.
Test whether one compatible scalar is at least another.
(view previous inspection-parameters ink-strength player
&optional (bevel-width luft:+mesh-bevel-width+) (exposure 1.0f0))(session width height &key camera-lanes)Pack the frame environment: camera lanes plus the evaluated sky. Lane order must match *FRAME-UNIFORM-MEMBERS* exactly; the construction-time check in BLOCK-WORLD-CAMERA-UNIFORM-SIZE keeps the two honest. CAMERA-LANES may replace the session camera's own five lanes with a camera expressed in some other space; the…
(specification)Test whether one compatible scalar is less than another.
(declaration)Return DECLARATION's backend or Common Lisp representation type, or NIL.
(declaration)Return DECLARATION's homogeneous quantity specification, or NIL.
How the children of a list are arranged.
(declaration)Return DECLARATION's heterogeneous quantity layout, or NIL.
Addition over compatible quantities.
(vertices declaration-name vertex-count shader-specification)PROPERTY: VALUES; -- the property a keyword, the values a list written space-separated.
Logical disjunction of tests and raw truth values.
A fixed product repeated through flat storage at a physical lane stride. The inherited extent and projections describe one stride period so existing projection tools continue to inspect an element. ELEMENT-LAYOUT retains the unpadded product definition; no runtime element object is implied.
Test whether two compatible scalars are equal.
Multiplication and scalar scaling.
(left right)
Luvcraft's dense voxel fields and packed product declarations.