Changes

Jump to navigation Jump to search
243 bytes added ,  13:50, 27 February 2015
Formats verified via hardware tests and/or Citra compatibility. Pixel Size kept around as before.
Line 3,133: Line 3,133:  
=== GPUREG_COLORBUFFER_FORMAT ===
 
=== GPUREG_COLORBUFFER_FORMAT ===
   −
The format the current color buffer should be written into. Following values are possible:
+
Describes the format of the current color buffer used for 3D rendering.
    
{| class="wikitable" border="1"
 
{| class="wikitable" border="1"
! Value
+
! Bits
 
! Description
 
! Description
 
|-
 
|-
| 0
+
| 0-7
| RGBA4 (16-bit)
+
| Pixel size (0=16-bit, 1=24-bit, 2=32-bit, 3=64-bit?)
 
|-
 
|-
| 1
+
| 16-23
| RGB8 (24-bit)
+
| Framebuffer Format (0=GL_RGBA8, 1=GL_RGB8, 2=GL_RGB5_A1, 3=GL_R5_G6_B5, 4=GL_RGBA4).
|-
+
Note that these values are slightly different from those in [[GPU#Framebuffer_color_formats]].
| 2
+
 
| RGBA8 (32-bit)
+
Color components are laid out in reverse byte order, with the most significant bits used first.
|-
  −
| 3
  −
| ?? 64-bit?
   
|}
 
|}
  
549

edits

Navigation menu