Appendix F. Floating-Point Formats for Textures, Framebuffers, and Renderbuffers
This appendix describes the floating-point formats used for pixel storage in framebuffers and renderbuffers, and texel storage in textures. It has the following major sections:
• “Reduced-Precision Floating-Point Values”
• “16-Bit Floating-Point Values”
• “10- and 11-Bit Unsigned Floating-Point Values”
Reduced-Precision Floating-Point Values
In addition to the normal 32-bit single-precision floating-point values you normally use when you declare a GLfloat in your application, OpenGL supports reduced-precision floating-point representations for storing data more compactly than its 32-bit representation. In many instances, your floating-point data may not require ...
Get OpenGL® Programming Guide: The Official Guide to Learning OpenGL®, Version 4.5 with SPIR-V, Ninth Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.