Skip to content

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.

SamplerFormatSize
colortexNRGBA*Display Resolution*
depthtexNDEPTH24_STENCIL8 / DEPTH32F_STENCIL8Display Resolution
noisetexRGB8*Noise Texture Resolution*
shadowtexNDEPTH24_STENCIL8 / DEPTH32F_STENCIL8Shadow Map Resolution*
shadowColorNRGBA*Shadow Map Resolution*
*Configurable
†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