HDK
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
extComputationCpuCallback.h
Go to the documentation of this file.
1
//
2
// Copyright 2024 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_IMAGING_HD_EXT_COMPUTATION_CPU_CALLBACK_H
8
#define PXR_IMAGING_HD_EXT_COMPUTATION_CPU_CALLBACK_H
9
10
#include "
pxr/pxr.h
"
11
#include "
pxr/imaging/hd/api.h
"
12
13
#include <memory>
14
15
PXR_NAMESPACE_OPEN_SCOPE
16
17
class
HdExtComputationContext
;
18
using
HdExtComputationCpuCallbackSharedPtr
=
19
std::shared_ptr<class HdExtComputationCpuCallback>;
20
21
/// \class HdExtComputationCallback
22
///
23
/// A callback for an ext computation filling the outputs given the
24
/// input values and values of the input computations.
25
///
26
class
HdExtComputationCpuCallback
27
{
28
public
:
29
HD_API
virtual
~HdExtComputationCpuCallback
();
30
31
/// Run the computation.
32
virtual
void
Compute
(
HdExtComputationContext
* ctx) = 0;
33
};
34
35
PXR_NAMESPACE_CLOSE_SCOPE
36
37
#endif
HdExtComputationContext
Definition:
extComputationContext.h:20
HdExtComputationCpuCallback::Compute
virtual void Compute(HdExtComputationContext *ctx)=0
Run the computation.
api.h
HD_API
#define HD_API
Definition:
api.h:23
HdExtComputationCpuCallbackSharedPtr
std::shared_ptr< class HdExtComputationCpuCallback > HdExtComputationCpuCallbackSharedPtr
Definition:
extComputationCpuCallback.h:19
pxr.h
PXR_NAMESPACE_OPEN_SCOPE
PXR_NAMESPACE_CLOSE_SCOPE PXR_NAMESPACE_OPEN_SCOPE
Definition:
path.h:1425
PXR_NAMESPACE_CLOSE_SCOPE
#define PXR_NAMESPACE_CLOSE_SCOPE
Definition:
pxr.h:74
HdExtComputationCpuCallback
Definition:
extComputationCpuCallback.h:26
HdExtComputationCpuCallback::~HdExtComputationCpuCallback
virtual HD_API ~HdExtComputationCpuCallback()
pxr
imaging
hd
extComputationCpuCallback.h
Generated on Thu Sep 4 2025 02:39:02 for HDK by
1.8.6