Function rs2_get_frame_texture_coordinates

Function Documentation

rs2_pixel *rs2_get_frame_texture_coordinates(const rs2_frame *frame, rs2_error **error)

When called on Points frame type, this method returns a pointer to an array of texture coordinates per vertex Each coordinate represent a (u,v) pair within [0,1] range, to be mapped to texture image

Parameters:
  • frame[in] Points frame

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

Returns:

Pointer to an array of texture coordinates, lifetime is managed by the frame