CARB_PROFILE_FRAME_WITH_IMAGE#

Defined in carb/profiler/Profile.h

CARB_PROFILE_FRAME_WITH_IMAGE(maskOrChannel, rgbaImageData, imageDataSizeInBytes, width, height)#

Inserts an anonymous frame marker along with an RGBA image (for profilers that support it).

Parameters:
  • maskOrChannel – Deprecated and ignored for frame events.

  • rgbaImageData – pointer to the start of the image data (pixels must be in RGBA order)

  • imageDataSizeInBytes – total size in bytes of the image data

  • width – in pixels of the image data (must be a multiple of 4)

  • height – in pixels of the image data (must be a multiple of 4)