Orbbec SDK K4A Wrapper
Loading...
Searching...
No Matches

Macros

#define K4A_SUCCEEDED(_result_)   (_result_ == K4A_RESULT_SUCCEEDED)
 
#define K4A_FAILED(_result_)   (!K4A_SUCCEEDED(_result_))
 

Detailed Description

Public macros for API consumers.

Macro Definition Documentation

◆ K4A_FAILED

#define K4A_FAILED (   _result_)    (!K4A_SUCCEEDED(_result_))

Validate that a k4a_result_t is failed.

Definition at line 756 of file k4atypes.h.

◆ K4A_SUCCEEDED

#define K4A_SUCCEEDED (   _result_)    (_result_ == K4A_RESULT_SUCCEEDED)

Validate that a k4a_result_t is successful.

Definition at line 746 of file k4atypes.h.