Expand description
Auto-generated module
🤖 Generated with SplitRS
Constants§
- BOUNDARY_
ENFORCE_ WGSL - WGSL compute shader for boundary condition enforcement.
- BROADPHASE_
SORT_ SHADER - WGSL compute shader for bitonic sort used in SAP broadphase.
- CELL_
LIST_ WGSL - WGSL compute shader for parallel cell-list construction.
- INTEGRATE_
WGSL - WGSL shader for particle integration (velocity Verlet half-step).
- LBM_
BGK_ D2Q9_ WGSL - WGSL shader for LBM BGK collision (D2Q9).
- LBM_
STREAMING_ SHADER - WGSL compute shader for LBM streaming step (D3Q19).
- RIGID_
INTEGRATE_ SHADER - WGSL compute shader for rigid body semi-implicit Euler integration.
- SDF_
COMPUTE_ WGSL - WGSL compute shader that computes a sphere SDF on the GPU.
- SPH_
DENSITY_ WGSL - WGSL compute shader for SPH density computation.
- SPH_
FORCE_ WGSL - WGSL compute shader for SPH pressure force computation.
Functions§
- count_
total_ bindings - Count the total number of binding annotations across all built-in shaders.
- mock_
compile_ to_ spirv - Produce a mock SPIR-V byte sequence from WGSL source.
- resolve_
includes - Resolves
#include "filename"directives in shader source. - validate_
shader_ metadata - Validate that a
ShaderMetadatarecord is internally consistent. - validate_
shader_ sources - Validate that all built-in shader sources contain the
@computeentry point marker. - validate_
wgsl_ structure - Validate that a WGSL source has basic structural correctness.