R2 Shaders
src
main
glsl
com
io7m
r2
shaders
sources
R2GBufferInput.h
Go to the documentation of this file.
1
#ifndef R2_GBUFFER_INPUT_H
2
#define R2_GBUFFER_INPUT_H
3
4
/// \file R2GBufferInput.h
5
/// \brief The textures that make up the G-Buffer
6
7
/// A type representing the set of bound textures that make up the G-Buffer.
8
9
struct
R2_gbuffer_input_t
{
10
/// The albedo texture, with the emission level stored in the `a` component.
11
sampler2D
albedo
;
12
/// The normal texture containing compressed normals (see R2_normalsDecompress).
13
sampler2D
normal
;
14
/// The specular texture, with the exponent stored in the `a` component.
15
sampler2D
specular
;
16
/// The logarithmic depth texture (see R2_logDepthDecode).
17
sampler2D
depth
;
18
};
19
20
#endif // R2_GBUFFER_INPUT_H
R2_gbuffer_input_t::normal
sampler2D normal
The normal texture containing compressed normals (see R2_normalsDecompress).
Definition:
R2GBufferInput.h:13
R2_gbuffer_input_t::albedo
sampler2D albedo
The albedo texture, with the emission level stored in the a component.
Definition:
R2GBufferInput.h:11
R2_gbuffer_input_t::specular
sampler2D specular
The specular texture, with the exponent stored in the a component.
Definition:
R2GBufferInput.h:15
R2_gbuffer_input_t::depth
sampler2D depth
The logarithmic depth texture (see R2_logDepthDecode).
Definition:
R2GBufferInput.h:17
R2_gbuffer_input_t
A type representing the set of bound textures that make up the G-Buffer.
Definition:
R2GBufferInput.h:9
Generated by
1.8.12