struct Result { float d; float type; bool hit; }; #pragma glslify: export(Result)