Blender V4.3
eval_output.cc
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2021 Blender Foundation
2 *
3 * SPDX-License-Identifier: GPL-2.0-or-later
4 *
5 * Author: Sergey Sharybin. */
6
8
9namespace blender::opensubdiv {
10bool is_adaptive(const CpuPatchTable *patch_table)
11{
12 return patch_table->GetPatchArrayBuffer()[0].GetDescriptor().IsAdaptive();
13}
14
15bool is_adaptive(const GLPatchTable *patch_table)
16{
17 return patch_table->GetPatchArrays()[0].GetDescriptor().IsAdaptive();
18}
19
20} // namespace blender::opensubdiv
bool is_adaptive(const CpuPatchTable *patch_table)