Blender
V4.3
intern
opensubdiv
internal
evaluator
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
7
#include "
internal/evaluator/eval_output.h
"
8
9
namespace
blender::opensubdiv
{
10
bool
is_adaptive
(
const
CpuPatchTable *patch_table)
11
{
12
return
patch_table->GetPatchArrayBuffer()[0].GetDescriptor().IsAdaptive();
13
}
14
15
bool
is_adaptive
(
const
GLPatchTable *patch_table)
16
{
17
return
patch_table->GetPatchArrays()[0].GetDescriptor().IsAdaptive();
18
}
19
20
}
// namespace blender::opensubdiv
eval_output.h
blender::opensubdiv
Definition
BKE_subdiv.hh:18
blender::opensubdiv::is_adaptive
bool is_adaptive(const CpuPatchTable *patch_table)
Definition
eval_output.cc:10
Generated on Thu Feb 6 2025 07:36:39 for Blender by
doxygen
1.11.0