HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
systemMessages.h
Go to the documentation of this file.
1 //
2 // Copyright 2023 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_SYSTEM_MESSAGES_H
8 #define PXR_IMAGING_HD_SYSTEM_MESSAGES_H
9 
10 #include "pxr/pxr.h"
11 #include "pxr/imaging/hd/api.h"
13 
15 
16 
17 #define HD_SYSTEM_MESSAGE_TOKENS \
18  /* Indicates that asynchronous processing is allowed and to expect to
19  * receive "asyncPoll" messages to follow. This message provides no
20  * arguments.
21  */ \
22  (asyncAllow) \
23  /* Following a "asyncAllow" message, this will be called periodically on the
24  * application main (or rendering) thread to give scene indices an
25  * opportunity to send notices for completed asynchronous or incremental
26  * work.
27  */ \
28  (asyncPoll) \
29 
30 TF_DECLARE_PUBLIC_TOKENS(HdSystemMessageTokens, HD_API,
32 
33 
35 
36 #endif
#define HD_API
Definition: api.h:23
TF_DECLARE_PUBLIC_TOKENS(HdSystemMessageTokens, HD_API, HD_SYSTEM_MESSAGE_TOKENS)
#define HD_SYSTEM_MESSAGE_TOKENS
PXR_NAMESPACE_CLOSE_SCOPE PXR_NAMESPACE_OPEN_SCOPE
Definition: path.h:1425
#define PXR_NAMESPACE_CLOSE_SCOPE
Definition: pxr.h:74