Skip to main content

Module cook

Module cook 

Source
Expand description

The half of the authoring vocabulary core owns: the resources the cook compiles into the blob’s resource stream, and the args schemas of the five types whose authored form differs from the component it bakes into.

Membership is the component registry’s resource group plus those five. Each of the five is named here for the asset it declares, so the authoring form of X is cook::X and the runtime form components::X; no Args name reaches the surface.

The build-only assets, which the cook expands away before a blob is written, are the other half of this namespace and live in concinnity_cook::authoring::registry::build_only.

Structs§

AppConfig
Names, identifies, and sizes the application.
AudioClip
A baked audio clip: the sound an AudioEmitter plays.
Camera3D
Authored fields of a Camera3D; the runtime view matrix and per-frame input intent are not declared.
CharacterCapsule
A kinematic character capsule for a SkinnedMesh, in world units (after the mesh’s scale).
ColorLut
A 3D colour-grading lookup table applied as a final post-process step. The build bakes the source into a colour cube; the graded result is blended over the image by PostProcessConfig’s lut_strength.
CubemapTexture
A six-face HDR cubemap baked from an equirectangular Radiance HDR source.
EnvironmentMap
A baked lighting environment built from an equirectangular source (or a built-in generator). It provides the scene’s ambient image-based lighting (soft diffuse fill plus glossy reflections that follow surface roughness) and the on-screen sky.
File
Authored fields of a File.
Font
Rasterises a TrueType font into a glyph atlas at build time.
Material
A Material bundles the surface parameters that control how a Prop is lit and shaded.
Mesh
Raw geometry. Supply vertices and indices directly, or import them from a binary glTF file with source + primitive_index.
MorphDelta
One morph-target vertex delta: offsets added to the bind-pose position and normal, scaled by the target’s weight at runtime.
Room
Authored fields of a Room; the resolved dimensions and payload locator are runtime state.
SkeletonJoint
One joint of a skeleton’s bind pose.
SkinnedMesh
A skeletally animated mesh placed directly in the world.
SkinnedVertexData
One vertex of a skinned mesh. Beyond position / colour / uv it carries up to four joint bindings: joints[k] indexes the skeleton, weights[k] is its blend weight. Weights are normalised at build time.
Spawner
Authored fields of a Spawner; the runtime accumulator is not declared.
Texture
A 2D texture image.
VertexData
A single vertex as supplied in raw Mesh args.