Expand description
Zero-copy WASM buffer views and std140-aligned uniform layouts.
Re-exports the canonical zero-copy views and std140 layout primitives from
etalon_render::webizen_core::zero_copy_views.
Structs§
- Camera
Uniform - Camera uniform block: view + projection matrices (std140 layout).
- Model
Uniform - Model uniform block: model matrix + time scalar (std140 layout).
- Std140
Field - A field in a std140 layout calculation.
- Time
Uniform - Time uniform block: sim time + resolution (std140 layout).
Enums§
- Std140
Type - std140 field type descriptor (used by the layout calculator).
- Std140
Type Simple - Simplified type for array elements (arrays can’t contain arrays in this simplified calculator, but can contain scalars/vectors/matrices).
Functions§
- compute_
std140_ layout - Alias for
std140_layout. - std140_
layout - Calculate the std140 layout for a list of named fields.
Type Aliases§
- Std140
Layout - Computed std140 struct layout: field descriptors and 16-byte-aligned total byte size.