Overview: buffers
Buffers are dedicated areas of memory used to temporarily store color data, depth information, or any other information used for rendering. The following are buffers Iris/OptiFine makes available by default, some of which can be written to and read from, and some of which can only be read from.
| Sampler | Format | Size |
|---|---|---|
colortexN | RGBA* | Display Resolution* |
depthtexN | DEPTH24_STENCIL8 / DEPTH32F_STENCIL8† | Display Resolution |
noisetex | RGB8* | Noise Texture Resolution* |
shadowtexN | DEPTH24_STENCIL8 / DEPTH32F_STENCIL8† | Shadow Map Resolution* |
shadowColorN | RGBA* | Shadow Map Resolution* |
†Dependent on drivers
Also provided are three texture atlases. These have the format RGBA8 and their resolution can be determined with atlasSize.
On Iris, additional buffers can be created through through the use of custom textures, custom images, and SSBOs