
In computer graphics, a buffer is a temporary storage area in memory used to hold pixel or image data during rendering.
In computer graphics, a buffer is a temporary storage area in memory used to hold pixel or image data during rendering.
Stores the color of each pixel on the screen.
Acts as a canvas where the final image is drawn.
Can store:
Stores intermediate results of rendering operations.
Useful for:
Allows combining multiple frames before final display.
Uses two framebuffers:
Once drawing is complete, buffers are swapped, preventing flickering.
Common technique in animation and real-time graphics.
Maintain Image Quality
Enable Complex Rendering
Hardware Acceleration
| Buffer Type | Purpose | Key Use |
|---|---|---|
| Framebuffer | Store pixel colors | Display final image |
| Z-buffer | Store depth per pixel | Hidden surface removal |
| Stencil buffer | Store mask values | Shadows, reflections, masking |
| Accumulation buffer | Store intermediate results | Anti-aliasing, motion blur |
| Double buffer | Two framebuffers | Flicker-free animation |
Key Points:
Open this section to view and download past papers
Click on Show Past Papers to load available exam papers.