Easy3D 3.0.0
Loading...
Searching...
No Matches
FrameImage Struct Reference

CPU-readable color, depth, and picking data captured from a frame. More...

#include <render_device.h>

Classes

struct  Id
 Object and primitive IDs associated with one pixel. More...
 

Public Attributes

std::uint32_t width = 0
 Captured framebuffer width in pixels.
 
std::uint32_t height = 0
 Captured framebuffer height in pixels.
 
std::vector< unsigned char > rgba
 Tightly packed RGBA8 color pixels, top row first.
 
std::vector< float > depth
 Per-pixel depth in [0,1]; clear depth is 1.
 
std::vector< Id > ids
 Per-pixel picking IDs; background objects use UINT32_MAX.
 

Detailed Description

CPU-readable color, depth, and picking data captured from a frame.


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