Loading...
Searching...
No Matches
HdSceneIndexPrim Struct Reference

Small struct representing a 'prim' in the Hydra scene index. More...

#include <sceneIndex.h>

Public Member Functions

bool IsDefined () const
 Does this prim returned by HdSceneIndex::GetPrim exist in the scene index?
 
 operator bool () const
 Same as IsDefined.
 

Public Attributes

TfToken primType
 
HdContainerDataSourceHandle dataSource
 

Detailed Description

Small struct representing a 'prim' in the Hydra scene index.

A prim is represented by a container data source which contains a tree of properties.

Definition at line 34 of file sceneIndex.h.

Member Function Documentation

◆ IsDefined()

bool IsDefined ( ) const
inline

Does this prim returned by HdSceneIndex::GetPrim exist in the scene index?

Definition at line 41 of file sceneIndex.h.

◆ operator bool()

operator bool ( ) const
inline

Same as IsDefined.

Definition at line 43 of file sceneIndex.h.

Member Data Documentation

◆ dataSource

HdContainerDataSourceHandle dataSource

Definition at line 37 of file sceneIndex.h.

◆ primType

TfToken primType

Definition at line 36 of file sceneIndex.h.


The documentation for this struct was generated from the following file: