Overview: buffers
Buffers are dedicated memory used to temporarily store color data, depth information, and other rendering details. They are most commonly used in shader programming to hold textures, but can also be used for shader storage buffer objects. Buffers are accessed through sampling a sampler2D
uniform.
Sampler | Format | Size |
---|---|---|
colortexN | RGBA * | display resolution* |
depthtexN | R24 / R32 † | display resolution |
noisetex | RGB8 * | 256 x 256* |
shadowColorN | RGBA * | shadow map resolution* |
†Dependent on drivers