Skip to content

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.

SamplerFormatSize
colortexNRGBA*display resolution*
depthtexNR24 / R32display resolution
noisetexRGB8*256 x 256*
shadowColorNRGBA*shadow map resolution*
*Configurable in shaders.properties
†Dependent on drivers