![]() |
NDEVR
API Documentation
|
Uniform buffer object layout for the color-position compute shader. More...
Public Attributes | |
| Vector< 4, fltp04 > | cam_pos4 |
| Camera position in world space (bytes 128..143). | |
| Vector< 2, uint04 > | center_i |
| Frame center as integer pixels (bytes 96..103). | |
| float | depth_scale |
| Scale factor converting raw depth to metres. | |
| Vector< 2, fltp04 > | f |
| Focal length in pixels (bytes 72..79). | |
| Vector< 2, fltp04 > | inv_f |
| Inverse focal length (bytes 80..87). | |
| Vector< 4, fltp04 > | k12p1p2 |
| Distortion coefficients k1, k2, p1, p2 (bytes 112..127). | |
| float | k3 |
| Radial distortion coefficient k3. | |
| float | max_dist2 |
| Maximum squared distance threshold. | |
| float | max_error_percent_sqrd |
| Maximum error percentage squared for filtering. | |
| Vector< 2, fltp04 > | pp |
| Principal point in pixels (bytes 64..71). | |
| Vector< 2, fltp04 > | size_f |
| Frame size as float (bytes 88..95). | |
| Vector< 2, uint04 > | size_i |
| Frame size as integer pixels (bytes 104..111). | |
| Matrix< fltp04 > | view_matrix |
| Camera view matrix (bytes 0..63). | |
| Vector< 4, uint04 > | weight_info |
| Weight parameters: mode, bytes/pixel, max, reduce (bytes 160..175). | |
Uniform buffer object layout for the color-position compute shader.
176 bytes, 16-byte aligned.
Definition at line 23 of file ColorPositionShaderLogic.h.