R2 Core Shaders

Data Fields
R2_gbuffer_output_t Struct Reference

A type representing the values written to the G-Buffer. More...

`#include <R2GBufferOutput.h>`

## Data Fields
vec3 | albedo
| 8-bit unsigned normalized RGB color
float | emission
| 8-bit unsigned normalized emission level
vec2 | normal
| Compressed 16-bit half-precision normals.
vec3 | specular
| 8-bit unsigned normalized RGB specular color
float | specular_exp
| 8-bit unsigned normalized specular exponent
float | depth
| Logarithmic depth value.
bool | discarded
| `True` if this particular surface fragment should be discarded

## Detailed Description

A type representing the values written to the G-Buffer.

Definition at line 9 of file R2GBufferOutput.h.

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

- R2GBufferOutput.h