Blender
V5.0
intern
opensubdiv
opensubdiv_evaluator_capi.hh
Go to the documentation of this file.
1
/* SPDX-FileCopyrightText: 2013 Blender Foundation
2
*
3
* SPDX-License-Identifier: GPL-2.0-or-later */
4
5
#pragma once
6
7
#include <cstdint>
// for uint64_t
8
9
#include "
opensubdiv_capi_type.hh
"
10
11
struct
OpenSubdiv_EvaluatorCacheImpl
;
12
struct
OpenSubdiv_PatchCoord
;
13
namespace
blender::opensubdiv
{
14
class
TopologyRefinerImpl
;
15
}
16
17
struct
OpenSubdiv_EvaluatorSettings
{
18
// Number of smoothly interpolated vertex data channels.
19
int
num_vertex_data
;
20
};
21
22
struct
OpenSubdiv_EvaluatorCache
{
23
// Implementation of the evaluator cache.
24
OpenSubdiv_EvaluatorCacheImpl
*
impl
;
25
};
26
27
OpenSubdiv_EvaluatorCache
*
openSubdiv_createEvaluatorCache
(
eOpenSubdivEvaluator
evaluator_type);
28
29
void
openSubdiv_deleteEvaluatorCache
(
OpenSubdiv_EvaluatorCache
*evaluator_cache);
30
31
// Return the GLSL source code from the OpenSubDiv library used for patch evaluation.
32
// This function is not thread-safe.
33
const
char
*
openSubdiv_getGLSLPatchBasisSource
();
blender::opensubdiv::TopologyRefinerImpl
Definition
opensubdiv_topology_refiner.hh:32
blender::opensubdiv
Definition
BKE_subdiv.hh:19
opensubdiv_capi_type.hh
eOpenSubdivEvaluator
eOpenSubdivEvaluator
Definition
opensubdiv_capi_type.hh:7
openSubdiv_deleteEvaluatorCache
void openSubdiv_deleteEvaluatorCache(OpenSubdiv_EvaluatorCache *evaluator_cache)
Definition
evaluator_capi.cc:26
openSubdiv_getGLSLPatchBasisSource
const char * openSubdiv_getGLSLPatchBasisSource()
Definition
evaluator_capi.cc:36
openSubdiv_createEvaluatorCache
OpenSubdiv_EvaluatorCache * openSubdiv_createEvaluatorCache(eOpenSubdivEvaluator evaluator_type)
Definition
evaluator_capi.cc:19
OpenSubdiv_EvaluatorCacheImpl
Definition
evaluator_cache_impl.h:12
OpenSubdiv_EvaluatorCache
Definition
opensubdiv_evaluator_capi.hh:22
OpenSubdiv_EvaluatorCache::impl
OpenSubdiv_EvaluatorCacheImpl * impl
Definition
opensubdiv_evaluator_capi.hh:24
OpenSubdiv_EvaluatorSettings
Definition
opensubdiv_evaluator_capi.hh:17
OpenSubdiv_EvaluatorSettings::num_vertex_data
int num_vertex_data
Definition
opensubdiv_evaluator_capi.hh:19
OpenSubdiv_PatchCoord
Definition
opensubdiv_capi_type.hh:36
Generated on
for Blender by
doxygen
1.16.1