![]() |
|
HdPrman_IdMap associates RenderMan id and id2 instance attribute values with corresponding Hydra scene object identity details. More...
#include <idMap.h>
Public Types | |
| using | Key = uint64_t |
Static Public Member Functions | |
| static void | SplitKey (Key key, int *id, int *id2) |
| static Key | KeyFromAttrs (int id, int id2) |
HdPrman_IdMap associates RenderMan id and id2 instance attribute values with corresponding Hydra scene object identity details.
This is used to support picking objects from id/id2 AOV buffers.
For runtime interactive picking, HdPrmanFramebuffer uses the idMap to translate id/id2 AOV values back to HdRenderIndex primId and instanceId values.
For out-of-process picking against stored rendered images, a separate idMap file can be serialized containing the same information; see WriteIdMap().
|
inlinestatic |