R2 Core Shaders

Functions
R2SurfaceVertex.h File Reference

Data required by each vertex in deferred rendering, provided as vertex attributes. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

## Functions
| layout (location=0) in vec3 R2_vertex_position
| Object-space position. More...

## Detailed Description

Data required by each vertex in deferred rendering, provided as vertex attributes.

Definition in file R2SurfaceVertex.h.

## Function Documentation

## § layout()

layout | ( | location | = `0` | ) |

Object-space position.

Object-space tangent vector.

Object-space normal vector.

UV coordinates.