Loading...
Searching...
No Matches
extComputations.h
1//
2// Copyright 2025 Pixar
3//
4// Licensed under the terms set forth in the LICENSE.txt file available at
5// https://openusd.org/license.
6//
7#ifndef PXR_USD_IMAGING_USD_SKEL_IMAGING_EXT_COMPUTATIONS_H
8#define PXR_USD_IMAGING_USD_SKEL_IMAGING_EXT_COMPUTATIONS_H
9
10#include "pxr/usdImaging/usdSkelImaging/api.h"
11
13
15
16PXR_NAMESPACE_OPEN_SCOPE
17
19
20extern TfEnvSetting<bool> USDSKELIMAGING_FORCE_CPU_COMPUTE;
21extern TfEnvSetting<bool> USDSKELIMAGING_ENABLE_NORMAL_COMPUTATIONS;
22
24USDSKELIMAGING_API
25void
26UsdSkelImagingInvokeExtComputation(
27 const TfToken &skinningMethod,
29
31USDSKELIMAGING_API
32HdExtComputationCpuCallbackDataSourceHandle
33UsdSkelImagingExtComputationCpuCallback(const TfToken &skinningMethod);
34
36USDSKELIMAGING_API
37HdStringDataSourceHandle
38UsdSkelImagingExtComputationGlslKernel(
39 const TfToken &skinningMethod,
40 const TfToken &computationType);
41
42PXR_NAMESPACE_CLOSE_SCOPE
43
44#endif
Interface class that defines the execution environment for the client to run a computation.
Token for efficient comparison, assignment, and hashing of known strings.
Definition: token.h:71
Environment setting variable.