Add Chromium-only Blender WebEngine parity work

This commit is contained in:
mes123456
2026-08-12 04:47:48 -04:00
commit 9fd26010f6
18225 changed files with 11622124 additions and 0 deletions

View File

@@ -0,0 +1,41 @@
//
// Copyright 2019 Pixar
//
// Licensed under the terms set forth in the LICENSE.txt file available at
// https://opensubdiv.org/license.
//
#ifndef VIEWER_ARGS_UTILS_H
#define VIEWER_ARGS_UTILS_H
#include <vector>
class ArgOptions;
struct ShapeDesc;
class ObjAnim;
namespace ViewerArgsUtils {
// From the list of obj files in args, populates the
// defaultShapes vector, treating the objs as an animated series, returning
// an ObjAnim object.
const ObjAnim *PopulateAnimShapes(const ArgOptions &args,
std::vector<ShapeDesc> *defaultShapes = 0);
// From the list of obj files in args, populates the
// defaultShapes vector.
void PopulateShapes(const ArgOptions &args,
std::vector<ShapeDesc> *defaultShapes);
// From the list of obj files in args, populates the
// defaultShapes vector and the objAnim object if animated objs have
// been specified in args.
void PopulateShapesOrAnimShapes(
const ArgOptions &args,
std::vector<ShapeDesc> *defaultShapes,
const ObjAnim **objAnim);
} // namespace ViewerArgsUtils
#endif // VIEWER_ARGS_UTILS_H