Function rs2_gl_is_frame_extendable_to

Function Documentation

int rs2_gl_is_frame_extendable_to(const rs2_frame *f, rs2_gl_extension extension_type, rs2_error **error)

Query if frame is extendable to one of the GL-specific extensions

Parameters:
  • f[in] Frame pointer

  • extension_type[in] Extension type

  • error[out] if non-null, receives any error that occurs during this call, otherwise, errors are ignored

Returns:

1 if true, 0 otherwise