R2 Shaders
R2SurfaceVertexBatched.h
Go to the documentation of this file.
1 #ifndef R2_SURFACE_VERTEX_BATCHED_H
2 #define R2_SURFACE_VERTEX_BATCHED_H
3 
4 #include "R2SurfaceVertex.h"
5 
6 /// \file R2SurfaceVertexBatched.h
7 /// \brief Data delivered via vertex attributes to batched instances in deferred rendering.
8 
9 layout(location = 4) in mat4x4 R2_vertex_transform_model; /// Object-space to World-space matrix
10 
11 #endif // R2_SURFACE_VERTEX_BATCHED_H
Data required by each vertex in deferred rendering, provided as vertex attributes.
layout(location=0) out vec4 R2_out
RGBA color.