Create a new AccelBuildOptions with the given flags and operation and no motion blur.
(build_flags: BuildFlags)
| 784 | /// Create a new AccelBuildOptions with the given flags and operation and |
| 785 | /// no motion blur. |
| 786 | pub fn new(build_flags: BuildFlags) -> Self { |
| 787 | AccelBuildOptions { |
| 788 | build_flags, |
| 789 | operation: BuildOperation::Build, |
| 790 | motion_options: MotionOptions { |
| 791 | num_keys: 1, |
| 792 | flags: MotionFlags::NONE, |
| 793 | time_begin: 0.0f32, |
| 794 | time_end: 1.0f32, |
| 795 | }, |
| 796 | } |
| 797 | } |
| 798 | |
| 799 | /// Set the build operation to either build or update |
| 800 | pub fn build_operation(mut self, op: BuildOperation) -> Self { |
nothing calls this directly
no test coverage detected